[RFA] Add ArrayValue to JDWP

Kyle Galloway kgallowa@redhat.com
Mon Apr 9 18:58:00 GMT 2007


This patch, already applied to upstream classpath, adds another type of 
Value for JDWP.  Since regular Object values and Array values have 
different tags, this patch adds the 
classpath/gnu/classpath/jdwp/value/ArrayValue class to handle Array 
values for JDWP.  This also adds checks in natVMFrame.cc to use these 
new Values when getting and setting array objects.

ChangeLog
2007-04-09  Kyle Galloway  <kgallowa@redhat.com>

    * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
    * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
    * gnu/classpath/jdwp/ArrayValue.h: New file.
    * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
    (setValue): Ditto.

Questions/comments/concerns?

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


More information about the Java-patches mailing list