This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: ResourceBundle fix and cleanup
- To: green at cygnus dot com
- Subject: Re: Patch: ResourceBundle fix and cleanup
- From: Tom Tromey <tromey at redhat dot com>
- Date: 07 Sep 2001 12:09:54 -0600
- Cc: java-patches at gcc dot gnu dot org
- References: <200109070345.UAA01763@fencer.cygnus.com>
- Reply-To: tromey at redhat dot com
>>>>> "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