Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SecurityManager related code from API #790

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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