JDK-8150829 : Enhanced drop-args, identity and default constant, varargs adjustment
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2016-02-29
  • Updated: 2017-05-17
  • Resolved: 2016-04-13
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 9
9 b115Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Relates :  
Description
Enhanced drop-args:
Adapts a target method handle to match the given parameter type list, if necessary, by adding dummy arguments.

Varargs adjustment:
Adapts a method handle as asVarargsCollector if flag is true else asFixedArity.

Identity and default constant:
Produces a method handle which does nothing and returns a suitable default depending on the return type.