+2007-07-20 Keith Seitz <keiths@redhat.com>
+
+ * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
+ Regenerate.
+
2007-07-20 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
+2007-07-20 Keith Seitz <keiths@redhat.com>
+
+ * gnu/classpath/jdwp/value/StringValue.java
+ (StringValue): Tag of StringValue is STRING not OBJECT.
+ (write): String values are written to the wire as tag byte
+ and object ID, not JdwpString.
+
2007-07-20 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
package gnu.classpath.jdwp.value;
import gnu.classpath.jdwp.JdwpConstants;
-import gnu.classpath.jdwp.util.JdwpString;
+import gnu.classpath.jdwp.VMIdManager;
+import gnu.classpath.jdwp.id.ObjectId;
import java.io.DataOutputStream;
import java.io.IOException;
*/
public StringValue(String value)
{
- super(JdwpConstants.Tag.OBJECT);
+ super(JdwpConstants.Tag.STRING);
_value = value;
}
protected void write(DataOutputStream os)
throws IOException
{
- JdwpString.writeString(os, _value);
+ ObjectId oid = VMIdManager.getDefault().getObjectId (_value);
+ oid.write (os);
+
}
}