-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b112
-
generic
-
generic
A method handle to interface static method invoked with invokestatic, it generated Methodref in constantpool, which violates
JVMS-5.4.3.3 Method Resolution:
" If C is an interface, method resolution throws an IncompatibleClassChangeError."
JVMS-5.4.3.4 Interface Method Resolution:
"If C is not an interface, interface method resolution throws an IncompatibleClassChangeError"
It should generate InterfaceMethodref instead. See bug 8147419.
Currently 8147419 has a workaround for this, relax check.
When this problem fixed, the relax in hotspot should be removed.
JVMS-5.4.3.3 Method Resolution:
" If C is an interface, method resolution throws an IncompatibleClassChangeError."
JVMS-5.4.3.4 Interface Method Resolution:
"If C is not an interface, interface method resolution throws an IncompatibleClassChangeError"
It should generate InterfaceMethodref instead. See bug 8147419.
Currently 8147419 has a workaround for this, relax check.
When this problem fixed, the relax in hotspot should be removed.
- blocks
-
JDK-8132436 java.lang.instrument is using deprecated ASM APIs
-
- Resolved
-
-
JDK-8145148 InterfaceMethod CP entry pointing to a class should cause ICCE
-
- Resolved
-
-
JDK-8143320 Many vm/runtime/defmeth/scenarios/ConflictingDefaults_v50_none_direct_noredefine fail with ICCE, ExitCode: 97
-
- Closed
-
-
JDK-8147419 Missing check for interface static method referenced by method handle
-
- Closed
-
- relates to
-
JDK-8151056 ASM enable original deprecated methods.
-
- Closed
-