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

Missing check for interface static method referenced by method handle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: