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

JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM

XMLWordPrintable

    • b15
    • generic
    • generic

        The JVM currently links bytecodes which mention MH.invokeGeneric as if they had mentioned MH.invoke. This is an error, which will be detected by a negative test that attempts to work with the method named MH.invokeGeneric.

        The fix is simple: Change the default value of AllowInvokeGeneric to false.
        Or, delete the flag altogether.

              jrose John Rose
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: