[cp-patches] [RFA/JDWP] Fix ReferenceType.Methods to work with interfaces

Kyle Galloway kgallowa at redhat.com
Fri May 11 18:43:36 UTC 2007


This patch fixes RefernceType.Methods to work with interfaces. 
Currently, since the ReferenceTypeId is immediately cast to a
ClassReferenceTypeId, Interfaces will cause problems with this method. 
This patch changes this so a generic ReferenceTypeId is used, which
avoid the issue without changing the functionality.

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

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

Questions/Issues?

Thanks,
Kyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: methods.patch
Type: text/x-patch
Size: 877 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20070511/2713f70f/methods.bin


More information about the Classpath-patches mailing list