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

ClassCircularityError running SQE test

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: security-libs
    • Labels:

      Description

      alanb: I've replaced the description with a full stack trace so that the issue is clearer:

      Exception in thread "main" java.lang.ClassCircularityError: sun/util/cldr/CLDRLocaleDataMetaInfo
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:346)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)
      at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323)
      at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:409)
      at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      at sun.util.locale.provider.JRELocaleProviderAdapter$1.run(JRELocaleProviderAdapter.java:382)
      at sun.util.locale.provider.JRELocaleProviderAdapter$1.run(JRELocaleProviderAdapter.java:377)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.util.locale.provider.JRELocaleProviderAdapter.createSupportedLocaleString(JRELocaleProviderAdapter.java:377)
      at sun.util.locale.provider.JRELocaleProviderAdapter.createLanguageTagSet(JRELocaleProviderAdapter.java:358)
      at sun.util.locale.provider.JRELocaleProviderAdapter.getLanguageTagSet(JRELocaleProviderAdapter.java:348)
      at sun.util.locale.provider.JRELocaleProviderAdapter.getNumberFormatProvider(JRELocaleProviderAdapter.java:206)
      at sun.util.locale.provider.JRELocaleProviderAdapter.getLocaleServiceProvider(JRELocaleProviderAdapter.java:97)
      at sun.util.locale.provider.LocaleProviderAdapter.findAdapter(LocaleProviderAdapter.java:284)
      at sun.util.locale.provider.LocaleProviderAdapter.getAdapter(LocaleProviderAdapter.java:254)
      at java.text.NumberFormat.getInstance(NumberFormat.java:859)
      at java.text.NumberFormat.getInstance(NumberFormat.java:442)
      at java.text.MessageFormat.subformat(MessageFormat.java:1271)
      at java.text.MessageFormat.format(MessageFormat.java:865)
      at java.text.Format.format(Format.java:157)
      at sun.security.provider.PolicyParser$ParsingException.<init>(PolicyParser.java:1409)
      at sun.security.provider.PolicyParser.parseGrantEntry(PolicyParser.java:546)
      at sun.security.provider.PolicyParser.read(PolicyParser.java:197)
      at sun.security.provider.PolicyFile.init(PolicyFile.java:605)
      at sun.security.provider.PolicyFile.access$400(PolicyFile.java:258)
      at sun.security.provider.PolicyFile$3.run(PolicyFile.java:521)
      at sun.security.provider.PolicyFile$3.run(PolicyFile.java:495)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.provider.PolicyFile.initPolicyFile(PolicyFile.java:495)
      at sun.security.provider.PolicyFile.initPolicyFile(PolicyFile.java:488)
      at sun.security.provider.PolicyFile.init(PolicyFile.java:439)
      at sun.security.provider.PolicyFile.<init>(PolicyFile.java:297)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:409)
      at java.lang.Class.newInstance(Class.java:439)
      at java.security.Policy.getPolicyNoCheck(Policy.java:184)
      at java.security.ProtectionDomain.implies(ProtectionDomain.java:272)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:435)
      at java.security.AccessController.checkPermission(AccessController.java:894)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
      at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1479)
      at java.lang.ClassLoader$1.run(ClassLoader.java:504)
      at java.lang.ClassLoader$1.run(ClassLoader.java:502)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:502)
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:762)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:462)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:426)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:359)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:346)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)
      at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323)
      at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:409)
      at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      at sun.util.locale.provider.JRELocaleProviderAdapter$1.run(JRELocaleProviderAdapter.java:382)
      at sun.util.locale.provider.JRELocaleProviderAdapter$1.run(JRELocaleProviderAdapter.java:377)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.util.locale.provider.JRELocaleProviderAdapter.createSupportedLocaleString(JRELocaleProviderAdapter.java:377)
      at sun.util.locale.provider.JRELocaleProviderAdapter.createLanguageTagSet(JRELocaleProviderAdapter.java:358)
      at sun.util.locale.provider.JRELocaleProviderAdapter.getLanguageTagSet(JRELocaleProviderAdapter.java:348)
      at sun.util.locale.provider.JRELocaleProviderAdapter.getNumberFormatProvider(JRELocaleProviderAdapter.java:206)
      at sun.util.locale.provider.JRELocaleProviderAdapter.getLocaleServiceProvider(JRELocaleProviderAdapter.java:97)
      at sun.util.locale.provider.LocaleProviderAdapter.findAdapter(LocaleProviderAdapter.java:284)
      at sun.util.locale.provider.LocaleProviderAdapter.getAdapter(LocaleProviderAdapter.java:254)
      at java.text.NumberFormat.getInstance(NumberFormat.java:859)
      at java.text.NumberFormat.getInstance(NumberFormat.java:442)
      at java.text.MessageFormat.subformat(MessageFormat.java:1271)
      at java.text.MessageFormat.format(MessageFormat.java:865)
      at java.text.Format.format(Format.java:157)
      at sun.security.provider.PolicyParser$ParsingException.<init>(PolicyParser.java:1409)
      at sun.security.provider.PolicyParser.parseGrantEntry(PolicyParser.java:546)
      at sun.security.provider.PolicyParser.read(PolicyParser.java:197)
      at sun.security.provider.PolicyFile.init(PolicyFile.java:605)
      at sun.security.provider.PolicyFile.access$400(PolicyFile.java:258)
      at sun.security.provider.PolicyFile$3.run(PolicyFile.java:521)
      at sun.security.provider.PolicyFile$3.run(PolicyFile.java:495)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.provider.PolicyFile.initPolicyFile(PolicyFile.java:495)
      at sun.security.provider.PolicyFile.initPolicyFile(PolicyFile.java:488)
      at sun.security.provider.PolicyFile.init(PolicyFile.java:439)
      at sun.security.provider.PolicyFile.<init>(PolicyFile.java:297)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:409)
      at java.lang.Class.newInstance(Class.java:439)
      at java.security.Policy.getPolicyNoCheck(Policy.java:184)
      at java.security.ProtectionDomain.implies(ProtectionDomain.java:272)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:435)
      at java.security.AccessController.checkPermission(AccessController.java:894)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
      at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
      at java.lang.System.getProperty(System.java:713)
      at PBPolicy.main(PBPolicy.java:12)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mullan Sean Mullan
                Reporter:
                tidu Tim Du (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: