Class.isAssignableFrom() and Method.invoke() (PR libgcj/1516)
Bryce McKinlay
bryce@albatross.co.nz
Wed Dec 27 20:30:00 GMT 2000
>From the JDK 1.3 online docs for Class.isAssignableFrom():
"If this Class object represents a primitive type, this method returns
true if the specified Class parameter is exactly this Class object;
otherwise it returns false. "
Previously we would return true for the case where a primitive TYPE
argument was tested against java.lang.Object. The first patch fixes
that.
The second patch fixes the PR libgcj/1516 reported by Jeff Sturm, and
cleans up _Jv_CallAnyMethodA() and can_widen() a little.
I'm checking these in.
regards
[ bryce ]
More information about the Java-patches
mailing list