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

Pulling of constant values by bootstrap method

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      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 issue JDK-8185993).
       

        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              psandoz Paul Sandoz
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: