JDK-8156652 : CountLocalSlots: testLocals(): number of locals (2) did not match expected (8)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-05-10
  • Updated: 2016-05-10
  • Resolved: 2016-05-10
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 9
9Fixed
Related Reports
Relates :  
Description
----------System.out:(47/3517)----------
[TestNG] Running:
  java/lang/StackWalker/CountLocalSlots.java

oop map for {method} {0xe9d1a8a8} 'invokeTestMethods' '(Lorg/testng/ITestNGMethod;[Lorg/testng/ITestNGMethod;ILorg/testng/xml/XmlSuite;Ljava/util/Map;Lorg/testng/internal/ConfigurationGroupMethods;[Ljava/lang/Object;Lorg/testng/ITestContext;)Ljava/util/List;' in 'org/testng/internal/Invoker' @ 406 = [37] { 0 1 2 4 5 6 7 8 9 10 18 20 21 22 23 32 }
oop map for {method} {0xe9d1a8a8} 'invokeTestMethods' '(Lorg/testng/ITestNGMethod;[Lorg/testng/ITestNGMethod;ILorg/testng/xml/XmlSuite;Ljava/util/Map;Lorg/testng/internal/ConfigurationGroupMethods;[Ljava/lang/Object;Lorg/testng/ITestContext;)Ljava/util/List;' in 'org/testng/internal/Invoker' @ 406 = [37] { 0 1 2 4 5 6 7 8 9 10 18 20 21 22 23 32 }
Running countLocalSlots
LocalsAndOperands$Tester.testLocals(LocalsAndOperands.java:252)
  local 0: 0 type I
  local 1: 0 type I
test CountLocalSlots.countLocalSlots([Ljava.lang.StackWalker$StackFrame;@16f5922): failure
java.lang.RuntimeException: testLocals(): number of locals (2) did not match expected (8)
	at CountLocalSlots.countLocalSlots(CountLocalSlots.java:56)

----------System.err:(16/1175)----------
Java HotSpot(TM) Client VM warning: oopmap should only be accessed by the VM, GC task or CMS threads (or during debugging)

Comments
jdk9/hs-comp doesn't contain all necessary changes. Will be fixed by a pull from jdk9/hs.
10-05-2016