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

StackOverflowError on calling ListFormat::getInstance() for Norwegian locales

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 22
    • 22
    • core-libs
    • None
    • b19
    • generic
    • generic

    Description

      This was found during upgrading CLDR to v44. `TestListFormat.java` test case fails with:
      ```
      java.lang.StackOverflowError
      at java.base/java.util.ServiceConfigurationError.<init>(ServiceConfigurationError.java:64)
      at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:582)
      at java.base/java.util.ServiceLoader.findStaticProviderMethod(ServiceLoader.java:619)
      at java.base/java.util.ServiceLoader.loadProvider(ServiceLoader.java:881)
      at java.base/java.util.ServiceLoader$ModuleServicesLookupIterator.hasNext(ServiceLoader.java:1080)
      at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1305)
      at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1387)
      at java.base/sun.util.resources.Bundles$2.run(Bundles.java:267)
      at java.base/sun.util.resources.Bundles$2.run(Bundles.java:265)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
      at java.base/sun.util.resources.Bundles.loadBundleFromProviders(Bundles.java:264)
      at java.base/sun.util.resources.Bundles.findBundleOf(Bundles.java:201)
      at java.base/sun.util.resources.Bundles.findBundleOf(Bundles.java:160)
      at java.base/sun.util.resources.Bundles.loadBundleOf(Bundles.java:145)
      at java.base/sun.util.resources.Bundles.of(Bundles.java:106)
      at java.base/sun.util.resources.LocaleData$1.run(LocaleData.java:185)
      at java.base/sun.util.resources.LocaleData$1.run(LocaleData.java:182)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
      at java.base/sun.util.resources.LocaleData.getBundle(LocaleData.java:182)
      at java.base/sun.util.resources.LocaleData.getDateFormatData(LocaleData.java:145)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:852)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      at java.base/sun.util.locale.provider.LocaleResources.getListPatterns(LocaleResources.java:861)
      ```

      in `nb-SJ` locale.

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              naoto Naoto Sato
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: