mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 20:41:17 +08:00
Update from classpath trunk:
* classpath/lib/gnu/classpath/jdwp/value/StringValue.class: Regenerate. * 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. From-SVN: r125897
This commit is contained in:
parent
67b2a930fd
commit
14d4217b59
@ -1,3 +1,8 @@
|
||||
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):
|
||||
|
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -38,7 +38,8 @@ exception statement from your version. */
|
||||
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;
|
||||
@ -61,7 +62,7 @@ public final class StringValue
|
||||
*/
|
||||
public StringValue(String value)
|
||||
{
|
||||
super(JdwpConstants.Tag.OBJECT);
|
||||
super(JdwpConstants.Tag.STRING);
|
||||
_value = value;
|
||||
}
|
||||
|
||||
@ -95,6 +96,8 @@ public final class StringValue
|
||||
protected void write(DataOutputStream os)
|
||||
throws IOException
|
||||
{
|
||||
JdwpString.writeString(os, _value);
|
||||
ObjectId oid = VMIdManager.getDefault().getObjectId (_value);
|
||||
oid.write (os);
|
||||
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user