Contents Previous Next

Chapter   4

ClassType Command Set


This command set is numbered (3) to match the equivalent JDWP command set.

 Superclass Command (1)

Returns the immediate superclass of a class.

Out Data
TABLE 7  –  Structure of Out Data for Superclass Command
classID
clazz
The class type ID. 

Reply Data
TABLE 8  –  Structure of Reply Data for Superclass Command
classID
superclass
The superclass (NULL if the class ID for java.lang.Object is specified). 

 SetValues Command (2)

Sets the value of one or more static fields. Each field must be a member of the class type or one of its superclasses, superinterfaces, or implemented interfaces. Access control is not enforced. For example, the values of private fields can be set. Final fields cannot be set. For primitive values, the value's type must match the field's type exactly. For object values, there must exist a widening reference conversion from the value's type to the field's type and the field's type must be loaded.

Out Data
TABLE 9  –  Structure of Out Data for SetValues Command
classID
clazz
The class type ID. 
int
values
The number of fields to set. 
Repeated values times:
fieldID
fieldID
Field to set. 
untagged-value
value
Value to put in the field. 

Reply Data

(None)

 


Contents Previous Next KDWP Specification
KVM Debug Wire Protocol, 1.0