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.
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.