Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4452253

JDI spec: spec for core interfaces Type and Value is misleading and very thin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.1, 1.4.0
    • core-svc
    • None
    • beta2
    • generic
    • generic
    • Not verified

      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

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: