RFR (S) 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass.

harold seigel harold.seigel at oracle.com
Thu Jan 23 12:32:40 PST 2014


Hi,

Please review this updated webrev for bug 8028553.  The updated webrev 
has the same code changes but now includes a test case (written by Lois).

Updated webrev: http://cr.openjdk.java.net/~hseigel/bug_8028553_jdk9.1/ 
<http://cr.openjdk.java.net/%7Ehseigel/bug_8028553_jdk9.1/>

Thanks, Harold

On 1/21/2014 9:17 AM, harold seigel wrote:
> Hi,
>
> Please review this small fix for bug JDK-8028553.  The fix ensures 
> that a final method is not static before issuing a VerifyError if 
> another method appears to override the final method.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8028553
> Open webrev: http://cr.openjdk.java.net/~hseigel/bug_8028553_jdk9/ 
> <http://cr.openjdk.java.net/%7Ehseigel/bug_8028553_jdk9/>
>
> The fix was tested with the JCK lang and vm tests, the default method 
> tests, the UTE verifier, quick and mlvm tests, the JTREG hotspot 
> tests, and a test that reproduced the problem.
>
> Thanks! Harold



More information about the hotspot-runtime-dev mailing list