ResourceBundle

Archie Cobbs archie at whistle.com
Tue Sep 19 10:42:17 PDT 2000


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