JDK-8048121 : javac complex method references: revamp and simplify
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-06-25
  • Updated: 2015-01-21
  • Resolved: 2014-06-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u40Fixed 9 b22Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
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.