We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5d5ab9 commit 0158df6Copy full SHA for 0158df6
java/org/apache/catalina/loader/WebappClassLoaderBase.java
@@ -1323,18 +1323,7 @@ protected void checkStateForResourceLoading(String resource) throws IllegalState
1323
*/
1324
@Override
1325
protected PermissionCollection getPermissions(CodeSource codeSource) {
1326
- String codeUrl = codeSource.getLocation().toString();
1327
- PermissionCollection pc;
1328
- if ((pc = loaderPC.get(codeUrl)) == null) {
1329
- pc = super.getPermissions(codeSource);
1330
- if (pc != null) {
1331
- for (Permission p : permissionList) {
1332
- pc.add(p);
1333
- }
1334
- loaderPC.put(codeUrl,pc);
1335
1336
1337
- return pc;
+ return null;
1338
}
1339
1340
0 commit comments