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

MethodHandleHelper.linkToStatic should drop MH arg

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        MethodHandleHelper.linkToStatic() is a helper method used by the compiler/jsr292/InvokerSignatureMismatch.java test. It incorrectly passes the "mh" arg along to MethodHandle.linkToStatic instead of dropping it. The test does not detect this problem, so it may seem harmless, but I feel it should be fixed.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dchuyko Dmitry Chuyko
                Reporter:
                dlong Dean Long
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: