Patch: ResourceBundle fix and cleanup
Tom Tromey
tromey@redhat.com
Fri Sep 7 10:57:00 GMT 2001
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Anthony> (I've also submitted this to classpath via their web interface)
Thanks. Do you have Classpath write access?
Anthony> 2001-09-06 Anthony Green <green@redhat.com>
Anthony> * java/util/ResourceBundle.java (tryLocalBundle): Eliminate
Anthony> redundant method calls.
Anthony> (emptyLocale): New private member.
Anthony> (tryBundle): Use emptyLocale. Remove duplicate code. Only cache
Anthony> exact matches.
I think this is ok. Please check it in. I was looking at
ResourceBundle yesterday too. I came to the conclusion that parts of
it must be rewritten. It doesn't conform to the spec in terms of the
order in which it searches for resource files.
Tom
More information about the Java-patches
mailing list