Details
-
Enhancement
-
Status: Open
-
P4
-
Resolution: Unresolved
-
None
Description
Currently all the bootstrap method arguments are resolved and then "pushed" to the bootstrap method, which has no control over when resolution of those arguments occurs.
Support a new form bootstrap method invocation whereby arguments can be pulled by the bootstrap method. A arg bootstrap method accepting a Lookup and a instance of say a BootstrapCallInfo can be supported where the BSM interacts with the BootstrapCallInfo to pull arguments.
Such a mechanism naturally supports more than the method argument limit (which is also overcome in issueJDK-8185993).
Support a new form bootstrap method invocation whereby arguments can be pulled by the bootstrap method. A arg bootstrap method accepting a Lookup and a instance of say a BootstrapCallInfo can be supported where the BSM interacts with the BootstrapCallInfo to pull arguments.
Such a mechanism naturally supports more than the method argument limit (which is also overcome in issue