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

method ReferenceType.instances() doesn't return arrays created by ArrayType.newInstance()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • generic
    • generic

      Test create in debuggee VM a number of objects using ClassType.newInstance() and ArrayType.newInstance() and check that size of list returned by ReferenceType.instances() increases accordingly.
      Behaviour is expected when objects are created with ClassType.newInstances(), but number of instances returned by ReferenceType.instances() doesn't increases when create arrays using ArrayType.newInstance().

      Test name:
      nsk/jdi/ReferenceType/instances/instances002

      See comments for information how to reproduce it.

            Unassigned Unassigned
            sboikovsunw Semen Boikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: