[Bug libgcj/23182] instanceof sometimes fails if compiled with -findirect-dispatch

fitzsim at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 5 17:40:00 GMT 2005

------- Additional Comments From fitzsim at redhat dot com  2005-09-05 17:40 -------
>From http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/functions.html :


jboolean IsAssignableFrom(JNIEnv *env, jclass clazz1,
jclass clazz2);

Determines whether an object of clazz1 can be safely cast to clazz2.

GtkWindowPeer can be safely cast to GtkGenericPeer so IsAssignableFrom should
return JNI_TRUE.



More information about the Java-prs mailing list