JDK-8154751 : MethodHandles.countedLoop does not accept empty bodies
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-04-20
  • Updated: 2016-04-28
  • Resolved: 2016-04-22
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
9 b116Fixed
Related Reports
Blocks :  
Relates :  
Description
Passing null as the body argument to MHs.countedLoop/3 and MHs.countedLoop/4 leads to errors; null should be acceptable to represent an empty loop body.