Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8025909 Lambda Library Spec Updates
  3. JDK-8024138

(Spec clarification) Lambda Metafactory spec should state DMH constraint on implMethod

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • None
    • core-libs

      The MethodHandle passed to the lambda metafactory must be a direct method handle, suitable for cracking by MethodHandleInfo. We could either borrow the constraints of MHI or the constraints of "method handles that can be in the constant pool"; the latter is narrower and fits better into intended usage.

      This is a spec-only clarification.

            henryjen Henry Jen
            briangoetz Brian Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: