Current entire specification for Type:
The type of a Value retrieved from the target VM. This interface
is the root of a type hierarchy encompassing primitive types
and reference types.
As a definition first sentence is incorrect since Type also represents
defined types.
Current entire specification for Value:
The value assigned to a field or variable at some point during the
execution of the target VM. This interface is the root of a
value hierarchy encompassing primitive and object values.
As a definition first sentence is incorrect since Value also represents
method return values, elements of arrays, debug application
constructed values, etc.
References to Type in the descriptions of JDI methods:
Field.type()
Method.returnType()
Method.argumentTypes()
LocalVariable.type()
ArrayType.componentType()
is confusing and should simply reference improved Type doc.
robert.field@Eng 2001-04-30
The type of a Value retrieved from the target VM. This interface
is the root of a type hierarchy encompassing primitive types
and reference types.
As a definition first sentence is incorrect since Type also represents
defined types.
Current entire specification for Value:
The value assigned to a field or variable at some point during the
execution of the target VM. This interface is the root of a
value hierarchy encompassing primitive and object values.
As a definition first sentence is incorrect since Value also represents
method return values, elements of arrays, debug application
constructed values, etc.
References to Type in the descriptions of JDI methods:
Field.type()
Method.returnType()
Method.argumentTypes()
LocalVariable.type()
ArrayType.componentType()
is confusing and should simply reference improved Type doc.
robert.field@Eng 2001-04-30
- duplicates
-
JDK-4404195 JDI spec: Field.type() Method.returnType() is not explicit for array fields
-
- Closed
-