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]
Other format: [Raw text]

Re: Strange behaviour with ResourceBundle - SUN vs GCJ?


> 0
> 1
> Missing!
> DONE!
> 
> Whereas when I run with GCJ (not GIJ) I get:
> 
> 0
> 1
> 1
> 1
> ... continues, until the app is killed.
> 
> I know that the ResourceBundle class tries to load/find the given 
> resource-bundle in the class "UserLog", but as the constructor is 
> hidden, I don't see why it should be allowed for it to construct an 
> instance?

Yeah, and why should it construct an instance anyway? AFAIK This should
be an issue of the class (or better: the ClassLoader) and not of an
instance. Correct me if I'm wrong.

Unfortunatly I have no current version of gcj here to check. At least
with current CP/JamVM it works, but this is most likely VM-specific and
not CP-specific.

/Roman

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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