hg: hsx/hotspot-rt/hotspot: 8026394: Eclipse fails with JDK8 build 111

harold.seigel at oracle.com harold.seigel at oracle.com
Tue Oct 22 16:06:27 PDT 2013


Changeset: 662c154d2749
Author:    hseigel
Date:      2013-10-22 14:47 -0400
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/662c154d2749

8026394: Eclipse fails with JDK8 build 111
Summary: If the resolved interface does not itself contain "clone" or "finalize" methods, the method/interface method resolution looks to the interface's super class, java.lang.Object.  With the JDK 8 interface method accessability check requirement, since these two methods are declared within Object as protected, they must be special cased in LinkResolver::check_method_accessability() in order to avoid an IAE.
Reviewed-by: acorn, dholmes
Contributed-by: lois.foltan at oracle.com

! src/share/vm/interpreter/linkResolver.cpp
+ test/runtime/8026394/InterfaceObjectTest.java



More information about the serviceability-dev mailing list