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

Pulling of constant values by bootstrap method

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • None
    • tbd
    • core-libs

    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

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

            Dates

              Created:
              Updated: