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

javac complex method references: revamp and simplify

XMLWordPrintable

    • b22
    • generic
    • generic
    • Verified

        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.

              rfield Robert Field (Inactive)
              rfield Robert Field (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: