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

Missing check for interface static method referenced by method handle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Filed for tracing remained issue after 8145148 fixed. When ASM used to generated code for invoke interface static method , say 'm' is interface static method and referenced by handle:

       #15 = InterfaceMethodref #11.#14 // I.m:()I
       #16 = MethodHandle #9:#15 // invokeinterface I.m()I

      It should be like:

       #15 = InterfaceMethodref #11.#14 // I.m:()I
       #16 = MethodHandle #9:#15 // invokestatic I.m()I

      When this problem is addressed in ASM, the relax check in 8145148 should be removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                minqi Yumin Qi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: