JDK-7194586 : Add back-end support for invokedynamic
Type:Sub-task
Component:tools
Sub-Component:javac
Affected Version:8
Priority:P2
Status:Closed
Resolution:Fixed
OS:generic
CPU:unknown
Submitted:2012-08-28
Updated:2014-02-05
Resolved:2012-09-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.
We need javac to support generation of indy callsites - the lambda translation code will need to leverage this support in order to translate lambda and method references to use the lambda metafactory protocol.
EVALUATION
We need a specialized method symbol that can be used at a call-site to trigger invokedynamic generation. The symbol must at lest keep track of:
*) static bootstrap arguments
*) bootstrap method
*) invocation kind
25-09-2012
SUGGESTED FIX
A webrev of this fix is available at the following URL:
http://hg.openjdk.java.net/jdk8/tl/langtools/rev/26d93df3905a