C
Christian Ziech
Hi,
it seems to me that I either run into a JNI-Bug or that I forgot a
thing. The situation is the following: I want to throw an Java-Exception
out of the C(++)-Code when a given field cannot be found during a method
call. When I throw the Java-Exception before I try to find the field
everything is fine and I get the exception. However if I do so after I
get NULL from GetStaticFieldID() the FindClass() call before
env->ThrowNew() fails to find the same class. Anyone with an Idea or did
I misunderstand something?
Thx in advance
Christian
it seems to me that I either run into a JNI-Bug or that I forgot a
thing. The situation is the following: I want to throw an Java-Exception
out of the C(++)-Code when a given field cannot be found during a method
call. When I throw the Java-Exception before I try to find the field
everything is fine and I get the exception. However if I do so after I
get NULL from GetStaticFieldID() the FindClass() call before
env->ThrowNew() fails to find the same class. Anyone with an Idea or did
I misunderstand something?
Thx in advance
Christian