JNIEnv->FindClass(JNIEnv *env, const char *name), initialize class?

David Daney ddaney@avtrex.com
Tue Dec 12 18:35:00 GMT 2006


Marco Trudel wrote:
> Hey Guys
> 
> static { } blocks won't be called when a class is loaded in a JNI 
> function via JNIEnv->FindClass(...). But they will be executed on a Sun 
> JVM.
> Is an example needed? Is this a GCJ issue? Ideas?
> 

A small test case would be useful.  If our behavior does not match the 
RI, I am sure we will fix it.

David Daney



More information about the Java mailing list