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

javac complex method references: revamp and simplify

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Complex method references were handled by two different mechanisms: simplistic conversion to lambdas and translation phase bridging. Neither was complete. Together they did not handle all cases, notably method references within lambdas.

        Revamp the LambdaToMethod code to use code derived from of the bridging code to convert to lambdas at analysis time.

        This issue is a placeholder with two purposes: (1) document a significant structural code change that was pushed with the push of 8037404 (2) be a vehicle for pushing the tests of the issues fixed with that code change (that were missed in the push of that code).

        This change fixes the linked issues.

          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: