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

java.security.debug may raise ClassCircularityError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 15
    • security-libs
    • None

      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.

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

              Created:
              Updated: