This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: java.util.ResourceBundle bug?
- To: "'Tom Tromey '" <tromey at redhat dot com>, "Boehm, Hans" <hans_boehm at hp dot com>
- Subject: RE: java.util.ResourceBundle bug?
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- Date: Fri, 2 Nov 2001 19:23:02 -0800
- Cc: "''java at gcc dot gnu dot org' '" <java at gcc dot gnu dot org>
Thanks.
I committed your version of the patch to the trunk. I don't have a very
current 3.0.x tree, though I may need to reaquire one in the near future.
Hans
-----Original Message-----
From: Tom Tromey
To: Boehm, Hans
Cc: 'java@gcc.gnu.org'
Sent: 11/2/01 3:01 PM
Subject: Re: java.util.ResourceBundle bug?
>>>>> "Hans" == Boehm, Hans <hans_boehm@hp.com> writes:
Hans> Unless I'm mistaken, the stopgap implementation of
Hans> java.util.ResourceBundle.getClassContext() in
Hans> natResourceBundle.cc is broken.
I agree.
Hans> - elts[0] = java::lang::ClassLoader::getSystemClassLoader ();
Hans> + elts[0] = &java::lang::Object::class$;
Based on comments in ResourceBundle.java, I think the right patch is
to use:
elts[0] = &class$;
(i.e., the ResourceBundle class.)
Feel free to check this in if you'd like to make the change.
Otherwise I'll try to do it soon. I've been sick so there's no
telling when I'll get caught up...
Tom