JNI GetMethodID always return zero
From: Kiran (kiran.dpatil_at_gmail.com)
Date: 02/27/05
- Next message: Paul van Rossem: "Re: GUI and Thread"
- Previous message: Sameer: "GUI and Thread"
- Next in thread: Kevin McMurtrie: "Re: JNI GetMethodID always return zero"
- Reply: Kevin McMurtrie: "Re: JNI GetMethodID always return zero"
- Reply: Chris Uppal: "Re: JNI GetMethodID always return zero"
- Reply: Kiran: "Re: JNI GetMethodID always return zero"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Feb 2005 23:40:48 -0800
Hi,
What could be the possible reason behind GetMethodID call failure?
What wrong with following code...
jclass resourceClass = env->FindClass( "java/util/ResourceBundle" );
jmethodID mid = env->GetStaticMethodID( resourceClass,
"getBundle",
"(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/ClassLoader;)Ljava/util/ResourceBundle");
FindClass works ok, so I assume VM is initialized well, but I might be
wrong?
Platform: Windows, JDK 1.4.
Thanks,
Kiran
- Next message: Paul van Rossem: "Re: GUI and Thread"
- Previous message: Sameer: "GUI and Thread"
- Next in thread: Kevin McMurtrie: "Re: JNI GetMethodID always return zero"
- Reply: Kevin McMurtrie: "Re: JNI GetMethodID always return zero"
- Reply: Chris Uppal: "Re: JNI GetMethodID always return zero"
- Reply: Kiran: "Re: JNI GetMethodID always return zero"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|