[RFA/JDWP] Fix ReferenceType.Methods for Interfaces

Kyle Galloway kgallowa@redhat.com
Fri May 11 19:40:00 GMT 2007


Currently, since the id is immediately cast into a ClassReferenceTypeId,
this method will fail for Interfaces.  This patch, which is already in
Classpath, fixes this by removing the cast and using a generic
RegerenceTypeId.  This allows Interface methods to be properly retrieved.

ChangeLog
2007-05-11  Kyle Galloway  <kgallowa@redhat.com>

    * classpath/gnu/classpath/jdwp/processor/ReferenceTypeId.java
    (executeMethods): Remove cast to ClassReferenceTypeId.

Questions/issues?

Thanks,
Kyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classmethods.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070511/66770540/attachment.bin>


More information about the Java-patches mailing list