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

java.security.debug may raise ClassCircularityError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      When execute java application with security manager and enable java.security.debug, the below error may be raised,
      Caused by: java.lang.ClassCircularityError: sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo
      at java.base/java.lang.ClassLoader.defineClass2(Native Method)
      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1106)
      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:183)
      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:784)
      at java.base/jdk.internal.loader.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(BuiltinClassLoader.java:707)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(BuiltinClassLoader.java:708)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findClass(BuiltinClassLoader.java:586)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:632)
      at java.base/java.lang.Class.forName(Class.java:546)
      at java.base/java.util.ServiceLoader.lambda$loadProvider$1(ServiceLoader.java:859)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
      at java.base/java.util.ServiceLoader.loadProvider(ServiceLoader.java:861)
      ... 108 more

      If not open java.security.debug, no the above error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mullan Sean Mullan
              Reporter:
              jjiang John Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: