This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Marco Trudel writes:

 > 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?

Yes.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]