Skip to content

Commit

Permalink
Java11兼容模式时javax的包全部使用系统ClassLoader加载
Browse files Browse the repository at this point in the history
  • Loading branch information
Luohuayu committed Dec 5, 2021
1 parent 119130c commit 1164652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/catserver/server/launch/Java11Launch.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private Java11Launch() {
Launch.blackboard = new HashMap<>();
Thread.currentThread().setContextClassLoader(Launch.classLoader);

Launch.classLoader.addClassLoaderExclusion("javax.script.");
Launch.classLoader.addClassLoaderExclusion("javax.");

return null;
});
Expand Down

0 comments on commit 1164652

Please sign in to comment.