JDK-8167590 : ReferenceType.instances() returns unexpected number of instances
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 8u152,9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-10-12
  • Updated: 2020-10-14
  • Resolved: 2017-01-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8 JDK 9
10Fixed 8-poolFixed 9 b156Fixed
Related Reports
Relates :  
Description
Test constructs objects in target VM with ClassType.newInstance and checks number of instances returned with ReferenceType.instances()
Comments
It is not applicable for 8u121.
29-11-2016

Similar issue was already caused by JDK-4858370. So seems this regression is caused by JDK-8153711
12-10-2016

RULE "nsk/jdi/ReferenceType/instances/instances002" ExitCode 97
12-10-2016