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

Incorrect method name in invokedynamic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 19
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b02

      Description

      The invokedynamic instruction, besides the reference to the bootstrap method, also provides a name and type. This name and type is then passed to the bootstrap method. But, in javac, if multiple invokedynamic instructions have the same bootstrap method and (dynamic) type, only one name will be used, even if the DynamicMethodSymbols were created with different names. It is necessary to produce different references to NameAndType for the different invokedynamic instructions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jlahoda Jan Lahoda
              Reporter:
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: