RFR (S) JDK-8029415: java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61
Karen Kinnear
karen.kinnear at oracle.com
Wed Dec 4 05:15:11 PST 2013
Lois,
Looks good. Many thanks for the discussion.
thanks,
Karen
On Dec 3, 2013, at 8:39 PM, Lois Foltan wrote:
> Please review the following fix:
>
> Webrev:
> http://cr.openjdk.java.net/~lfoltan/bug_jdk8029415/
>
> Bug: java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61
> https://bugs.openjdk.java.net/browse/JDK-8029415
>
> Summary of fix:
> Prior to emitting an ICCE during method resolution of an invokespecial that names a method in an
> indirect superinterface of the current class or interface, a check first must be made that the current
> class is not a dynamically-generated bytecode associated with the 1.4 reflection implementation. This
> check added to LinkResolver::resolve_special_call() is patterned after the similar check in classfile/verifier.cpp's
> Verifier::is_eligible_for_verification().
>
> Tests:
> JCK vm & lang, JDK java.lang & java.util, vm.quick.testlist, hotspot/test/*, default method tests
More information about the hotspot-runtime-dev
mailing list