java.lang.IllegalAccessError: class vm.share.UnsafeAccess (in unnamed module @0x4cc0edeb) cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @0x4cc0edeb

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Joseph Provino, 1 year ago
java.lang.IllegalAccessError: class vm.share.UnsafeAccess (in unnamed module @0x4cc0edeb) cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @0x4cc0edeb
at vm.share.UnsafeAccess.(UnsafeAccess.java:17)
at vm.mlvm.anonloader.func.classNameInStackTrace.Test.run(Test.java:16)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:361)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:305)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:222)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:164)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:135)
at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:312)
at vm.mlvm.anonloader.func.classNameInStackTrace.Test.main(Test.java:34)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.