You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/03/29 13:41:41 UTC

[jira] [Updated] (SLING-6382) JcrResourceBundle.getBaseBundleName() always returns null

     [ https://issues.apache.org/jira/browse/SLING-6382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated SLING-6382:
-----------------------------------
    Component/s: i18n

> JcrResourceBundle.getBaseBundleName() always returns null
> ---------------------------------------------------------
>
>                 Key: SLING-6382
>                 URL: https://issues.apache.org/jira/browse/SLING-6382
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions, i18n
>    Affects Versions: i18n 2.5.4
>            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 {{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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)