-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b122
The following invoke instructions are successfully executed:
invokestatic #3; //InterfaceMethod C.foo:()V
invokestatic #3; //Method I.foo:()V
where
class C {...}
interface I {...}
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"
Test case attached(IntfMethod.java):
$ java -Xverify:all IntfMethod
testSpecialIntf: FAILED (no exception)
testStaticIntf: FAILED (no exception)
testSpecialClass: FAILED (no exception)
testStaticClass: FAILED (no exception)
- clones
-
JDK-8087223 InterfaceMethod CP entry pointing to a class should cause ICCE
- Closed
- duplicates
-
JDK-8143317 jdk/lambda/vm/InterfaceAccessFlagsTest.java fails with IncompatibleClassChangeError
- Resolved
-
JDK-8142899 MethodHandle invoke should check method constant tag.
- Closed
- is blocked by
-
JDK-8147755 ASM should create correct constant tag for invokestatic on handle point to interface static method
- Resolved
-
JDK-8143320 Many vm/runtime/defmeth/scenarios/ConflictingDefaults_v50_none_direct_noredefine fail with ICCE, ExitCode: 97
- Closed
- relates to
-
JDK-8143317 jdk/lambda/vm/InterfaceAccessFlagsTest.java fails with IncompatibleClassChangeError
- Resolved
-
JDK-8143320 Many vm/runtime/defmeth/scenarios/ConflictingDefaults_v50_none_direct_noredefine fail with ICCE, ExitCode: 97
- Closed
-
JDK-8158276 [TESTBUG] Two defmeth tests fail with ICCE
- Resolved
-
JDK-8159034 4 nashorn ant tests fail with latest jdk9-dev build with IncompatibleClassChangeError
- Resolved
-
JDK-8159470 Error message for ICCE for MethodHandle constant pool not helpful
- Resolved
-
JDK-8159375 Lambda processing broken in build 122
- Closed
-
JDK-8142899 MethodHandle invoke should check method constant tag.
- Closed
-
JDK-8147419 Missing check for interface static method referenced by method handle
- Closed
-
JDK-8273407 Hotspot failed to throw the IncompatibleClassChangeError
- Closed
-
JDK-8039450 [TESTBUG] Integrate tests on VM access checks into regular test execution
- Closed