Thursday, February 26, 2004 02:07 PM
Any ideas on how to construct the name for an inner class when using the JNI invokation interface's FindClass method?
For instance, say I want to get a jclass for the JavaMail javax.mail.Flags.Flag class (inner class of Flags class). I have tried the following:
jclass ffc = env->FindClass("javax/mail/Flags/Flag");
...but it doesn't find the class. I know my classpath is fine, because I can get a reference to the Flags class just fine with:
jclass ffc = env->FindClass("javax/mail/Flags");