[RFA/JDWP] Fix VariableTable

Kyle Galloway kgallowa@redhat.com
Tue Apr 3 19:10:00 GMT 2007


This fix, now in classpath, fixes jdwp/util/VariableTable.  Previously, 
two variables were longs, where the spec says they should be ints.  This 
causes the variable table data to be corrupted when it is sent to the 
debugger.

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

    * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
    to ints for argCnt and slots.
    (write): Replace writeLong with writeInt for the above.

Questions/comments/concerns?

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


More information about the Java-patches mailing list