You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/06/01 04:05:15 UTC
[jira] Updated: (HARMONY-4007)
[classlib][luni]java.util.ResourceBundle.getBundle() should get ClassLoader
with the security privileges of ResourceBundle
[ https://issues.apache.org/jira/browse/HARMONY-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leo Li updated HARMONY-4007:
----------------------------
Attachment: patch-4007.diff
Will somebody try the patch?
> [classlib][luni]java.util.ResourceBundle.getBundle() should get ClassLoader with the security privileges of ResourceBundle
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4007
> URL: https://issues.apache.org/jira/browse/HARMONY-4007
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Attachments: patch-4007.diff
>
>
> As spec says:
> public static final ResourceBundle getBundle(String baseName)
> Gets a resource bundle using the specified base name, the default locale, and the caller's class loader. Calling this method is equivalent to calling
> getBundle(baseName, Locale.getDefault(), this.getClass().getClassLoader()),
> except that getClassLoader() is run with the security privileges of ResourceBundle.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.