Skip to content

Commit

Permalink
Remove SecurityManager related code from API
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanders34 authored and markt-asf committed Feb 6, 2025
1 parent 66b4b5c commit 5c2e3cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/src/main/java/jakarta/servlet/ServletContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -1238,12 +1238,6 @@ public interface ServletContext {
/**
* Gets the class loader of the web application represented by this ServletContext.
*
* <p>
* If a security manager exists, and the caller's class loader is not the same as, or an ancestor of the requested class
* loader, then the security manager's <code>checkPermission</code> method is called with a
* <code>RuntimePermission("getClassLoader")</code> permission to check whether access to the requested class loader
* should be granted.
*
* @return the class loader of the web application represented by this ServletContext
*
* @since Servlet 3.0
Expand Down

0 comments on commit 5c2e3cd

Please sign in to comment.