Skip to content

Commit

Permalink
Remove debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Dec 14, 2024
1 parent 5237719 commit efbd6cb
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,9 @@ protected PluginResolvingClassLoader(ClassLoader parent, ClassLoader classLoader
*/
public static Class<?> wrap(ClassLoader parent, Class<?> type) {
try {
Class<?> t = Class.forName(type.getName(),
return Class.forName(type.getName(),
false,
new PluginResolvingClassLoader(parent, type.getClassLoader(), type.getProtectionDomain()));
System.out.println("XXXXX");
System.out.println(t.getClassLoader());
System.out.println(Plugin.class.getClassLoader());
System.out.println(parent);
return t;
} catch (ClassNotFoundException exception) {
throw new IllegalStateException("Failed to wrap plugin type " + type.getName(), exception);
}
Expand Down

0 comments on commit efbd6cb

Please sign in to comment.