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

MethodHandles.countedLoop does not accept empty bodies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: