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

java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java failed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9-repo-jigsaw
    • javafx
    • None

      java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java started failing on all platforms since 2015-11-07, and the failure is reproducible.

      Log :
      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.getDeclaredFields0(java.base@9.0/Native Method)
      at java.lang.Class.privateGetDeclaredFields(java.base@9.0/Class.java:2789)
      at java.lang.Class.getDeclaredFields(java.base@9.0/Class.java:2063)
      at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:83)
      at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:121)
      at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:234)
      at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:191)
      at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:175)
      at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:287)
      at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:166)
      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.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)

            kcr Kevin Rushforth
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: