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
Describe the issue
Having single Java class com.example.Hello.class (class name/content in this case is not relevant) inside jar called my-pseudo-native.jar and placing that jar into libs subfolder and invoking then command like such: java -p libs com.example.Hello
leads to such exception:
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for libs/my-pseudo-native.jar
Caused by: java.lang.IllegalArgumentException: my.pseudo.native: Invalid module name: 'native' is not a Java identifier
Steps to reproduce the issue
Explained above
Describe GraalVM and your environment:
GraalVM version 22.1.0
JDK major version: 17
OS: Oracle Linux 8u5
Architecture: x86_64
The text was updated successfully, but these errors were encountered:
$ java -p . --list-modules
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for ./abc-continue-1.2.3.jar
Caused by: java.lang.IllegalArgumentException: abc.continue: Invalid module name: 'continue' is not a Java identifier
Describe the issue
Having single Java class
com.example.Hello.class
(class name/content in this case is not relevant) inside jar calledmy-pseudo-native.jar
and placing that jar intolibs
subfolder and invoking then command like such:java -p libs com.example.Hello
leads to such exception:
Steps to reproduce the issue
Explained above
Describe GraalVM and your environment:
The text was updated successfully, but these errors were encountered: