1 |
|
2004-11-20 Tom Tromey <tromey@redhat.com> |
2 |
|
|
3 |
|
* java/util/ResourceBundle.java (tryBundle): Use |
4 |
|
Class.isAssignableFrom rather than catching ClassCastException. |
5 |
|
|
6 |
|
2004-11-20 Bryce McKinlay <mckinlay@redhat.com> |
7 |
|
|
8 |
|
* java/util/ResourceBundle.java (bundleCache): Renamed from |
9 |
|
resourceBundleCache. Update comments. |
10 |
|
(getObject): Don't catch MissingResourceException. |
11 |
|
(getBundle(String)): Remove 'final'. Use system classloader if |
12 |
|
getCallingClassLoader returned null. |
13 |
|
(getBundle(String, Locale)): Likewise. |
14 |
|
(BundleKey): New private class. HashMap key for bundle cache lookup. |
15 |
|
(lookupKey): New. Singleton instance of BundleKey. |
16 |
|
(nullEntry): New. Cache entry to represent failed lookups. |
17 |
|
(getBundle(String, Locale, ClassLoader)): Re-written to use new |
18 |
|
caching strategy, no-allocation lookup, and new tryBundle methods. |
19 |
|
(tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle |
20 |
|
name using given classloader. |
21 |
|
(tryBundle(String, Locale, ClassLoader, boolean): New. Qualify |
22 |
|
baseName for given Locale and attempt to load bundle. |
23 |
|
|
24 |
2004-11-18 Jeroen Frijters <jeroen@frijters.net> |
2004-11-18 Jeroen Frijters <jeroen@frijters.net> |
25 |
|
|
26 |
* gnu/java/io/decode/DecoderUTF8.java |
* gnu/java/io/decode/DecoderUTF8.java |