Konrad Windszus created SLING-6382:
--------------------------------------

             Summary: JcrResourceBundle.getBaseBundleName() always returns null
                 Key: SLING-6382
                 URL: https://issues.apache.org/jira/browse/SLING-6382
             Project: Sling
          Issue Type: Bug
          Components: Extensions
            Reporter: Konrad Windszus
            Priority: Minor


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 {{JcrResourceBundle}}s. 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to