Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7115044 Umbrella: Add support for lambda expressions
  3. JDK-8000694

Add generation of lambda implementation code: invokedynamic call, lambda method, adaptor methods

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Implement lambda expressions by converting the lambda expression to a lambda method and calling it through invokedynamic using the lambda metafactory. Add adaptor methods if needed to handle complex call situations and some argument adaptions (like varargs).

      The approach is described here:
         http://cr.openjdk.java.net/~briangoetz/lambda/lambda-translation.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfield Robert Field
                Reporter:
                rfield Robert Field
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: