RFR (S) JDK-8026394: Eclipse fails with JDK8 build 111

Karen Kinnear karen.kinnear at oracle.com
Mon Oct 21 18:43:43 PDT 2013


Lois,

Fix looks good.

I'm not sure what this sentence is there for -
"If a direct interface of a class does not contain "clone" or "finalize" the methods would be found in the interface's super class, java.lang.Object" 
does the "of a class" refer to the objectref for method selection?

Thank you for the test.

thanks,
Karen

On Oct 21, 2013, at 7:58 PM, Lois Foltan wrote:

> Please review the following fix:
> 
> Webrev:
>    http://cr.openjdk.java.net/~hseigel/bug_jdk8026394/
> 
> Bug: Eclipse fails with JDK8 build 111
>    https://bugs.openjdk.java.net/browse/JDK-8026394
> 
> Summary of fix:
>    If a direct interface of a class does not declare "clone" or "finalize" methods, the selection process
>    looks to the interface's super class, java.lang.Object.  With the JDK 8 interface accessability
>    check requirement, since these methods are declared within Object as protected, an IAE would
>    result.  In order to support pre-existing Java code, LinkResolver::check_method_accessability()
>    must check for and special case these two methods.
> 
> Tests:
>    Completed - jtreg, vm.quick.testlist, jck vm & lang
>    In progress - jdk java.lang & java.util
> 
> Thank you, Lois



More information about the hotspot-runtime-dev mailing list