You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might not be an issue, but I think it requires documentation. JCL2 requires a package name for loading classes whereas it wasn't required in the original JCL. Code at line 64 in JarClassLoader.java breaks when the class being loaded is not part of a package.
The text was updated successfully, but these errors were encountered:
+1. This is affecting me as I want to be able to load classes that are in the root package (ie have no package name). I'm happy to submit a pull request if you're happy to look at it.
FWIW the line that's failing for me is actually 264:
String packageName = className.substring( 0, className.lastIndexOf( '.' ) );
Obviously this throws an IndexOutOfBoundsException when there is no package name.
Perhaps the code has moved around somewhat since this issue was opened.
This might not be an issue, but I think it requires documentation. JCL2 requires a package name for loading classes whereas it wasn't required in the original JCL. Code at line 64 in JarClassLoader.java breaks when the class being loaded is not part of a package.
The text was updated successfully, but these errors were encountered: