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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: