ResourceBundle
Johan Andersson
anderssj at tcd.ie
Tue Sep 19 12:56:39 PDT 2000
Yamaguchi, what version of kaffe are you using?
The latest CVS does not implement the SecurityManager as an abstract class.
I haven't tried it myself.
Your code works with S*N Java 1.2, so I suggest you to get the latest CVS.
/johan
----- Original Message -----
From: "Archie Cobbs" <archie at whistle.com>
To: <kaffe at rufus.w3.org>
Sent: Tuesday, September 19, 2000 6:42 PM
Subject: Re: ResourceBundle
>
> YAMAGUCHI Yuji writes:
> > java.lang.ExceptionInInitializerError: [exception was
java.lang.SecurityException]
> > at java.util.ResourceBundle.getBundleWithLocale(ResourceBundle.java:84)
> > at java.util.ResourceBundle.getBundle(ResourceBundle.java:42)
> > at java.util.ResourceBundle.getBundle(ResourceBundle.java:30)
> > at ResourceBundleTest.main(ResourceBundleTest.java:12)
> > java.lang.SecurityException
> > at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
> > at java.lang.Throwable.<init>(Throwable.java:33)
> > at java.lang.Exception.<init>(Exception.java:20)
> > at java.lang.RuntimeException.<init>(RuntimeException.java:17)
> > at java.lang.SecurityException.<init>(SecurityException.java:17)
> > at java.lang.SecurityManager.checkPermission(SecurityManager.java:98)
> > at java.lang.SecurityManager.<init>(SecurityManager.java:24)
> > at kaffe.lang.DummyClassLoader.<init>(DummyClassLoader.java:25)
> > at java.lang.Throwable.printStackTrace(Throwable.java:56)
> > at java.util.ResourceBundle.getBundleWithLocale(ResourceBundle.java:84)
> > at java.util.ResourceBundle.getBundle(ResourceBundle.java:42)
> > at java.util.ResourceBundle.getBundle(ResourceBundle.java:30)
> > at ResourceBundleTest.main(ResourceBundleTest.java:12)
>
> Look's like kaffe's SecurityManager class is still incomplete.
> It shouldn't be too hard to fix.. patches welcome.
>
> -Archie
>
>
___________________________________________________________________________
> Archie Cobbs * Whistle Communications, Inc. *
http://www.whistle.com
>
More information about the kaffe
mailing list