Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154751

MethodHandles.countedLoop does not accept empty bodies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mhaupt Michael Haupt
                Reporter:
                mhaupt Michael Haupt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: