[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/51901] ResolverCache.<clinit> throws ExceptionInInitializ
From: |
jojelino at gmail dot com |
Subject: |
[Bug classpath/51901] ResolverCache.<clinit> throws ExceptionInInitializerError |
Date: |
Tue, 31 Jan 2012 20:53:32 +0000 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
gee <jojelino at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libgcj |classpath
Version|4.7.0 |0.98
Product|gcc |classpath
Target Milestone|4.7.0 |---
Summary|java.security.Security.getP |ResolverCache.<clinit>
|roperty throws |throws
|ExceptionInInitializerError |ExceptionInInitializerError
--- Comment #5 from gee <jojelino at gmail dot com> 2012-01-31 20:53:32 UTC ---
this bug is sort of following bug
>
class staticcall{
private static final int a=getint(); // bug
private static final Object bar=new Object();
private static void foo(){
System.out.printf(bar.toString());
}
public static void main (String args[])
{
}
private static int getint(){
foo();
return 1;
}
}
>yields following error message in openjdk 1.7, gcj 4.7.
java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at staticcall.foo(staticcall.java:5)
at staticcall.getint(staticcall.java:12)
at staticcall.<clinit>(staticcall.java:2)
Exception in thread "main"
please place killqueue,cache ahead of NEGATIVE_TTL.
- [Bug classpath/51901] ResolverCache.<clinit> throws ExceptionInInitializerError,
jojelino at gmail dot com <=