Re: JNI assertion failure

2005-07-25 Thread Archie Cobbs
I checked in the aforementioned assertion patch. 2005-07-25 Archie Cobbs <[EMAIL PROTECTED]> * native/jni/classpath/native_state.c: add assertion for object type -Archie __ Archie Cobbs *CTO, Awa

Re: JNI assertion failure

2005-07-25 Thread Dalibor Topic
Archie Cobbs wrote: > Dalibor Topic wrote: > >> Doesn't GetObjectClass change the state of env? If that's the case, it >> maybe shouldn't be an assert. > > > Not sure what you mean.. but there is a bug: we need to delete the > local native reference obtained by calling GetObjectClass. > > Attac

Re: JNI assertion failure

2005-07-24 Thread Archie Cobbs
Dalibor Topic wrote: Doesn't GetObjectClass change the state of env? If that's the case, it maybe shouldn't be an assert. Not sure what you mean.. but there is a bug: we need to delete the local native reference obtained by calling GetObjectClass. Attached is a better patch. Thanks, -Archie

Re: JNI assertion failure

2005-07-23 Thread Dalibor Topic
Archie Cobbs wrote: Archie Cobbs wrote: With Classpath 0.16, trying to run a very simple Swing demo under JCVM, I get a JNI assertion failure in a call to GetIntField(), because the object type and the fieldID are not compatible: gnu/java/awt/peer/gtk/[EMAIL PROTECTED] not instance of

Re: JNI assertion failure

2005-07-23 Thread Archie Cobbs
Archie Cobbs wrote: With Classpath 0.16, trying to run a very simple Swing demo under JCVM, I get a JNI assertion failure in a call to GetIntField(), because the object type and the fieldID are not compatible: gnu/java/awt/peer/gtk/[EMAIL PROTECTED] not instance of gnu/java/awt/peer/gtk

Re: JNI assertion failure

2005-07-09 Thread Archie Cobbs
Archie Cobbs wrote: With Classpath 0.16, trying to run a very simple Swing demo under JCVM, I get a JNI assertion failure in a call to GetIntField(), because the object type and the fieldID are not compatible: gnu/java/awt/peer/gtk/[EMAIL PROTECTED] not instance of gnu/java/awt/peer/gtk

JNI assertion failure

2005-07-07 Thread Archie Cobbs
With Classpath 0.16, trying to run a very simple Swing demo under JCVM, I get a JNI assertion failure in a call to GetIntField(), because the object type and the fieldID are not compatible: gnu/java/awt/peer/gtk/[EMAIL PROTECTED] not instance of gnu/java/awt/peer/gtk/GtkGenericPeer Here is