Missing check for interface static method referenced by method handle

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: