classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.util.ResourceBundle bug?


From: Brian Jones
Subject: Re: java.util.ResourceBundle bug?
Date: 04 Nov 2001 22:22:37 -0500
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Fred Gray <address@hidden> writes:

> On Mon, Nov 05, 2001 at 12:05:39PM +1300, Bryce McKinlay wrote:
> > Thanks for the explanation. I agree that relying on ResourceBundle being 
> > initialized before a Security Manager is installed would be flakey, so I 
> > installed a patch similar to what you suggested.
> 
> Hi, 
> 
> After this change, Classpath fails to compile with Jikes 1.14 (as patched for
> Debian unstable), which says:
> 
> Found 1 semantic error compiling "../java/util/ResourceBundle.java":
> 
>    118.           return new Security();
>                          <->
> *** Error: An instance of "java/util/ResourceBundle.this" is not accessible 
> here because it would have to cross a static region in the intervening type 
> "java/util/ResourceBundle$1".
> 
> This can be fixed by tagging "class Security" as static as well:

Thanks, I checked this in.

Brian
-- 
Brian Jones <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]