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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1900

  • 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
  • class TestShrinkAuxiliaryData (in unnamed module @0xd3e8ae0) cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @0xd3e8ae0
  • via GitHub by jsql-robot
    , 3 weeks ago
    class com.jsql.tool.AuthenticationTools (in unnamed module @0x35aea049) cannot access class sun.net.www.protocol.http.AuthCacheImpl (in module java.base) because module java.base does not export sun.net.www.protocol.http to unnamed module @0x35aea049
  • Stack trace

    • 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.<clinit>(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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.