[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [PATCH/JDWP] VirtualMachine.Version fixlet
From: |
Keith Seitz |
Subject: |
[cp-patches] [PATCH/JDWP] VirtualMachine.Version fixlet |
Date: |
Thu, 08 Sep 2005 11:02:30 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) |
Hi,
I've committed the following patch which corrects a little buglet in the
VirtualMachine.Version command which was erroneously outputting two
integers as bytes instead of integers.
Keith
ChangeLog
2005-09-08 Keith Seitz <address@hidden>
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
(executeVersion): Major and minor version are integers, not bytes.
Index: gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java,v
retrieving revision 1.5
diff -u -p -r1.5 VirtualMachineCommandSet.java
--- gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 8 Sep 2005
17:18:59 -0000 1.5
+++ gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 8 Sep 2005
17:58:56 -0000
@@ -165,8 +165,8 @@ public class VirtualMachineCommandSet
String vmVersion = props.getProperty("java.version");
String vmName = props.getProperty("java.vm.name");
JdwpString.writeString(os, description);
- os.write(jdwpMajor);
- os.write(jdwpMinor);
+ os.writeInt(jdwpMajor);
+ os.writeInt(jdwpMinor);
JdwpString.writeString(os, vmName);
JdwpString.writeString(os, vmVersion);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [PATCH/JDWP] VirtualMachine.Version fixlet,
Keith Seitz <=