[Bug libgcj/23739] IsAssignableFrom reverses arguments
fitzsim at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 18:54:00 GMT 2005
------- Additional Comments From fitzsim at redhat dot com 2005-09-05 18:54 -------
Created an attachment (id=9669)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9669&action=view)
test case demonstrating incorrect IsAssignableFrom results
To build the test case, run "make" in the iaf directory.
$ make JAVA=gij run
LD_LIBRARY_PATH=. $JAVA iaf
B extends A
isAssignableFrom (A, B): 1
isAssignableFrom (B, A): 0
$ make JAVA=/usr/java/jdk1.5.0_01/bin/java run
LD_LIBRARY_PATH=. $JAVA iaf
B extends A
isAssignableFrom (A, B): 0
isAssignableFrom (B, A): 1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23739
More information about the Gcc-bugs
mailing list