JDK-8152584 : MethodHandles.iteratedLoop(...) throws ArrayIndexOutOfBoundsException
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-23
  • Updated: 2016-06-20
  • Resolved: 2016-06-20
Description
ArrayIndexOutOfBoundsException is not documented in  MethodHandles.iteratedLoop(...)

File with set of test cases causing AIOOBE is attached. 
Was found on jdk9b108, jdk9b109, jdk9b110. tck_red label will be added after test development completion (test development is in process)

Comments
Fixed internally; fix will be pushed with JDK-8151179.
20-06-2016

Ongoing work on JDK-8151179 has addressed this issue; the attached test file with the suffix _Fixed contains a version of the test that passes (IAE is thrown in all cases).
20-06-2016