diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-10 02:14:30 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-10 03:14:30 +0100 |
commit | 21f56031ca49d7c142075e533a40a42fd2af296d (patch) | |
tree | 5bb4aa17ab79240e1aba3df19980bdf9dddc9b78 /libjava/java/awt/Window.java | |
parent | 17a916d4e61d8a6dac83eddec10b10428ca7b0c5 (diff) | |
download | gcc-21f56031ca49d7c142075e533a40a42fd2af296d.zip gcc-21f56031ca49d7c142075e533a40a42fd2af296d.tar.gz gcc-21f56031ca49d7c142075e533a40a42fd2af296d.tar.bz2 |
ResourceBundle.java (bundleCache): Renamed from resourceBundleCache.
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
* java/util/ResourceBundle.java (bundleCache): Renamed from
resourceBundleCache. Update comments.
(getObject): Don't catch MissingResourceException.
(getBundle(String)): Remove 'final'. Use system classloader if
getCallingClassLoader returned null.
(getBundle(String, Locale)): Likewise.
(BundleKey): New private class. HashMap key for bundle cache lookup.
(lookupKey): New. Singleton instance of BundleKey.
(nullEntry): New. Cache entry to represent failed lookups.
(getBundle(String, Locale, ClassLoader)): Re-written to use new
caching strategy, no-allocation lookup, and new tryBundle methods.
(tryBundle(String, ClassLoader)): New. Load a locale-qualified
bundle name using given classloader.
(tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
baseName for given Locale and attempt to load bundle.
From-SVN: r84434
Diffstat (limited to 'libjava/java/awt/Window.java')
0 files changed, 0 insertions, 0 deletions