Toggle navigation
Oracle Technology Network
Java
Java SE
Community
Bug Database
JDK-8142899 : MethodHandle invoke should check method constant tag.
Type:
Bug
Component:
hotspot
Sub-Component:
compiler
Affected Version:
9
Priority:
P4
Status:
Closed
Resolution:
Duplicate
Submitted:
2015-11-12
Updated:
2015-12-10
Resolved:
2015-11-18
Related Reports
Duplicate :
JDK-8087223 - InterfaceMethod CP entry pointing to a class should cause ICCE
Duplicate :
JDK-8145148 - InterfaceMethod CP entry pointing to a class should cause ICCE
Relates :
JDK-8087223 - InterfaceMethod CP entry pointing to a class should cause ICCE
Relates :
JDK-8145148 - InterfaceMethod CP entry pointing to a class should cause ICCE
Description
See 8087223 the attached test cases.
Comments
When method handle resolve constants, VM extracts all necessary information from CP entry in ConstantPool::resolve_constant_at_impl and pass it to the upcall in SystemDictionary::link_method_handle_constant. Bug 8087223 addressed this issue.
18-11-2015