Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6382

JcrResourceBundle.getBaseBundleName() always returns null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • i18n 2.5.4
    • None
    • Extensions, i18n
    • None

    Description

      The method getBaseBundleName being added with Java8 to ResourceBundle (https://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#getBaseBundleName--) always returns null for JcrResourceBundles. The reason for that is that the private field name inside ResourceBundle only gets set if loadBundle(CacheKey cacheKey, List<String> formats,Control control,boolean reload) gets called.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: