This is the mail archive of the java@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: java.util.ResourceBundle bug?


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


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