This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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 :

IsAssignableFrom

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23182


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]