Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151179 address issues raised by JCK team on JEP 274 API
  3. JDK-8152570

MethodHandles.countedLoop(MH, MH, MH, MH) implementation requirements

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      Code in section @ImplSpec is not equals to current implementation in some cases.
      1. In the case init=null, doc's implementation throws NPE, see example attached


      Since we have no changes in countedLoop(MH, MH, MH, MH) docs, it would be good to add
      "The implementation of this method is equivalent to (excluding error handling): "
      the same way it was done for JDK-8151903

            mhaupt Michael Haupt
            asolodkaya Anastasiya Solodkaya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: