Skip to content

Commit

Permalink
Allow access to field from running server context
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuuta0217 committed May 24, 2024
1 parent ff6e57e commit c13ef0e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public LaunchClassLoader(URL[] sources) {
addClassLoaderExclusion("com.sun.");
addClassLoaderExclusion("java.");
addClassLoaderExclusion("javax.");
addClassLoaderExclusion("net.unknown.launchwrapper.Main"); // Add main-class as classloader exclusion to allow access main-class field values from running server context.

// transformer exclusions
addTransformerExclusion("javax.");
Expand Down

0 comments on commit c13ef0e

Please sign in to comment.