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

Backout of fix for 8062389, 8029459, 8061950

    Details

      Description

      There are lots of such failures in recent test since fix of JDK-8062389

      All of them fail with similar error:

      ----------System.out:(61/5365)----------
      Error occurred during initialization of VM
      java.lang.ExceptionInInitializerError
      at java.lang.PublicMethods$MethodList.filter(java.base@9-internal/PublicMethods.java:151)
      at java.lang.Class.getMethodsRecursive(java.base@9-internal/Class.java:3191)
      at java.lang.Class.getMethod0(java.base@9-internal/Class.java:3175)
      at java.lang.Class.getMethod(java.base@9-internal/Class.java:2036)
      at java.lang.invoke.VarHandle$AccessMode.getReturnType(java.base@9-internal/VarHandle.java:1826)
      at java.lang.invoke.VarHandle$AccessMode.<init>(java.base@9-internal/VarHandle.java:1792)
      at java.lang.invoke.VarHandle$AccessMode.<clinit>(java.base@9-internal/VarHandle.java:1590)
      at java.lang.invoke.VarForm.linkFromStatic(java.base@9-internal/VarForm.java:127)
      at java.lang.invoke.VarForm.<init>(java.base@9-internal/VarForm.java:50)
      at java.lang.invoke.VarHandleObjects$FieldInstanceReadOnly.<clinit>(java.base@9-internal/VarHandleObjects.java:84)
      at java.lang.invoke.VarHandles.makeFieldHandle(java.base@9-internal/VarHandles.java:38)
      at java.lang.invoke.MethodHandles$Lookup.getFieldVarHandleCommon(java.base@9-internal/MethodHandles.java:2241)
      at java.lang.invoke.MethodHandles$Lookup.getFieldVarHandle(java.base@9-internal/MethodHandles.java:2201)
      at java.lang.invoke.MethodHandles$Lookup.findVarHandle(java.base@9-internal/MethodHandles.java:1361)
      at java.util.concurrent.atomic.AtomicReference.<clinit>(java.base@9-internal/AtomicReference.java:57)
      at java.security.Policy.<clinit>(java.base@9-internal/Policy.java:111)
      at java.security.AccessControlContext.getDebug(java.base@9-internal/AccessControlContext.java:110)
      at java.security.AccessControlContext.checkPermission(java.base@9-internal/AccessControlContext.java:398)
      at java.security.AccessController.checkPermission(java.base@9-internal/AccessController.java:894)
      at java.lang.SecurityManager.checkPermission(java.base@9-internal/SecurityManager.java:548)
      at java.lang.SecurityManager.checkPropertyAccess(java.base@9-internal/SecurityManager.java:1292)
      at java.lang.System.getProperty(java.base@9-internal/System.java:761)
      at java.lang.ClassLoader.initSystemClassLoader(java.base@9-internal/ClassLoader.java:1902)
      at java.lang.System.initPhase3(java.base@9-internal/System.java:1979)
      Caused by: java.lang.NullPointerException
      at java.security.Policy.isSet(java.base@9-internal/Policy.java:126)
      at java.security.AccessControlContext.getDebug(java.base@9-internal/AccessControlContext.java:110)
      at java.security.AccessController.checkPermission(java.base@9-internal/AccessController.java:871)
      at java.lang.SecurityManager.checkPermission(java.base@9-internal/SecurityManager.java:548)
      at jdk.internal.reflect.ReflectionFactory.getReflectionFactory(java.base@9-internal/ReflectionFactory.java:132)
      at jdk.internal.reflect.ReflectionFactory$GetReflectionFactoryAction.run(java.base@9-internal/ReflectionFactory.java:106)
      at jdk.internal.reflect.ReflectionFactory$GetReflectionFactoryAction.run(java.base@9-internal/ReflectionFactory.java:103)
      at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
      at java.lang.PublicMethods$Key.<clinit>(java.base@9-internal/PublicMethods.java:90)
      at java.lang.PublicMethods$MethodList.filter(java.base@9-internal/PublicMethods.java:151)
      at java.lang.Class.getMethodsRecursive(java.base@9-internal/Class.java:3191)
      at java.lang.Class.getMethod0(java.base@9-internal/Class.java:3175)
      at java.lang.Class.getMethod(java.base@9-internal/Class.java:2036)
      at java.lang.invoke.VarHandle$AccessMode.getReturnType(java.base@9-internal/VarHandle.java:1826)
      at java.lang.invoke.VarHandle$AccessMode.<init>(java.base@9-internal/VarHandle.java:1792)
      at java.lang.invoke.VarHandle$AccessMode.<clinit>(java.base@9-internal/VarHandle.java:1590)
      at java.lang.invoke.VarForm.linkFromStatic(java.base@9-internal/VarForm.java:127)
      at java.lang.invoke.VarForm.<init>(java.base@9-internal/VarForm.java:50)
      at java.lang.invoke.VarHandleObjects$FieldInstanceReadOnly.<clinit>(java.base@9-internal/VarHandleObjects.java:84)
      at java.lang.invoke.VarHandles.makeFieldHandle(java.base@9-internal/VarHandles.java:38)
      at java.lang.invoke.MethodHandles$Lookup.getFieldVarHandleCommon(java.base@9-internal/MethodHandles.java:2241)
      at java.lang.invoke.MethodHandles$Lookup.getFieldVarHandle(java.base@9-internal/MethodHandles.java:2201)
      at java.lang.invoke.MethodHandles$Lookup.findVarHandle(java.base@9-internal/MethodHandles.java:1361)
      at java.util.concurrent.atomic.AtomicReference.<clinit>(java.base@9-internal/AtomicReference.java:57)
      at java.security.Policy.<clinit>(java.base@9-internal/Policy.java:111)
      at java.security.AccessControlContext.getDebug(java.base@9-internal/AccessControlContext.java:110)
      at java.security.AccessControlContext.checkPermission(java.base@9-internal/AccessControlContext.java:398)
      at java.security.AccessController.checkPermission(java.base@9-internal/AccessController.java:894)
      at java.lang.SecurityManager.checkPermission(java.base@9-internal/SecurityManager.java:548)
      at java.lang.SecurityManager.checkPropertyAccess(java.base@9-internal/SecurityManager.java:1292)
      at java.lang.System.getProperty(java.base@9-internal/System.java:761)
      at java.lang.ClassLoader.initSystemClassLoader(java.base@9-internal/ClassLoader.java:1902)
      at java.lang.System.initPhase3(java.base@9-internal/System.java:1979)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                plevart Peter Levart
                Reporter:
                xiaofeya Xiaofeng Yang
              • Votes:
                1 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: