Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8142381

jdk.packager cannot read java.desktop from VerifyJimage.java test

XMLWordPrintable

      jdk/jigsaw/tools/jimage/VerifyJimage.java

      This test starts failing at all platforms since 2015-11-07, issue reproducible.

      ----------System.err:(36/2944)----------
      java.lang.IllegalAccessError: superclass access check failed: class com.javafx.main.NoJavaFXFallback (in module: jdk.packager) cannot access class javax.swing.JApplet (in module: java.desktop), jdk.packager cannot read java.desktop
      at java.lang.ClassLoader.defineClass2(java.base@9.0/Native Method)
      at java.lang.ClassLoader.defineClass(java.base@9.0/ClassLoader.java:1016)
      at java.security.SecureClassLoader.defineClass(java.base@9.0/SecureClassLoader.java:184)
      at jdk.internal.misc.BuiltinClassLoader.defineClass(java.base@9.0/BuiltinClassLoader.java:540)
      at jdk.internal.misc.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9.0/BuiltinClassLoader.java:473)
      at java.security.AccessController.doPrivileged(java.base@9.0/Native Method)
      at jdk.internal.misc.BuiltinClassLoader.findClassInModuleOrNull(java.base@9.0/BuiltinClassLoader.java:474)
      at jdk.internal.misc.BuiltinClassLoader.loadClassOrNull(java.base@9.0/BuiltinClassLoader.java:414)
      at jdk.internal.misc.BuiltinClassLoader.loadClass(java.base@9.0/BuiltinClassLoader.java:388)
      at jdk.internal.misc.ClassLoaders$AppClassLoader.loadClass(java.base@9.0/ClassLoaders.java:177)
      at java.lang.ClassLoader.loadClass(java.base@9.0/ClassLoader.java:373)
      at java.lang.Class.forName0(java.base@9.0/Native Method)
      at java.lang.Class.forName(java.base@9.0/Class.java:376)
      at VerifyJimage.lambda$loadClasses$3(VerifyJimage.java:197)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(java.base@9.0/ForEachOps.java:184)
      at java.util.stream.ReferencePipeline$2$1.accept(java.base@9.0/ReferencePipeline.java:177)
      at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@9.0/Spliterators.java:948)
      at java.util.stream.AbstractPipeline.copyInto(java.base@9.0/AbstractPipeline.java:482)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@9.0/AbstractPipeline.java:472)
      at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(java.base@9.0/ForEachOps.java:151)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(java.base@9.0/ForEachOps.java:174)
      at java.util.stream.AbstractPipeline.evaluate(java.base@9.0/AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.forEach(java.base@9.0/ReferencePipeline.java:430)
      at VerifyJimage.loadClasses(VerifyJimage.java:193)
      at VerifyJimage.main(VerifyJimage.java:82)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)

            kcr Kevin Rushforth
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: