RFR (S) JDK-8026065: InterfaceMethodref for invokespecial must name a direct superinterface
Lois Foltan
lois.foltan at oracle.com
Wed Oct 23 18:40:46 PDT 2013
Please review the following fix:
Webrev:
http://cr.openjdk.java.net/~hseigel/bug_jdk8026065/
Bug: InterfaceMethodref for invokespecial must name a direct superinterface
https://bugs.openjdk.java.net/browse/JDK-8026065
Summary of fix:
Add verification to check that invokespecial names a method in a
direct superinterface
of the current class or interface. See (JVMS draft 0.6.3) 4.9.2
Structural Constraints,
"Each invokespecial instruction must name an instance initialization
method (2.0) or
must reference a method in the current class or interface, a
method in a superclass of the
current class or interface, or a method in a direct superinterface
of the current class or interface."
Tests:
jtreg hotspot/test/*, JDK java.lang & java.util, JCK vm & lang,
vm.quick.testlist
Thank you, Lois
More information about the hotspot-runtime-dev
mailing list