Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
7
-
b15
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2210427 | 7 | John Rose | P3 | Resolved | Fixed | b145 |
Description
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.
The fix is simple: Change the default value of AllowInvokeGeneric to false.
Or, delete the flag altogether.
Attachments
Issue Links
- backported by
-
JDK-2210427 JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM
-
- Resolved
-