This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JNIEnv->FindClass(JNIEnv *env, const char *name), initialize class?
- From: Andrew Haley <aph at redhat dot com>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: Tue, 12 Dec 2006 18:43:18 +0000
- Subject: Re: JNIEnv->FindClass(JNIEnv *env, const char *name), initialize class?
- References: <457EF511.10008@gmx.ch>
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.