Skip to content

Commit

Permalink
Register AbstractSecureClassLoader as parallel capable
Browse files Browse the repository at this point in the history
  • Loading branch information
sfPlayer1 committed Oct 10, 2024
1 parent efdd72b commit 70c5c85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ public abstract class AbstractSecureClassLoader extends SecureClassLoader {
public AbstractSecureClassLoader(String name, ClassLoader parent) {
super(name, parent);
}

static {
ClassLoader.registerAsParallelCapable();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ public abstract class AbstractSecureClassLoader extends SecureClassLoader {
public AbstractSecureClassLoader(String name, ClassLoader parent) {
super(parent);
}

static {
ClassLoader.registerAsParallelCapable();
}
}

0 comments on commit 70c5c85

Please sign in to comment.