This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: ResourceBundle fix and cleanup


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]