RFR(S) 8026894: Improve VerifyError message about overriding a final method
harold seigel
harold.seigel at oracle.com
Mon Jun 30 15:05:56 UTC 2014
Hi Fred,
Thanks for the review.
Harold
On 6/30/2014 9:46 AM, Frederic Parain wrote:
> Looks good to me,
>
> Fred
>
> On 30/06/2014 15:29, harold seigel wrote:
>> Hi,
>>
>> Please review this small enhancement for bug 8026894. This change adds
>> the class name to the Exception message when a method in a subclass
>> overrides a final method in a super class. Here's a sample old message,
>> followed by the improved message:
>>
>> Exception in thread "main" java.lang.VerifyError: class Overrider
>> overrides final method m.(Ljava/lang/String;)V
>>
>> Exception in thread "main" java.lang.VerifyError: class Overrider
>> overrides final method pkg.HasFinal.m(Ljava/lang/String;)V
>>
>>
>> Open webrev: http://cr.openjdk.java.net/~hseigel/bug_8026984/
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8026894
>>
>> The fix was tested with the JCK lang and vm tests, the default method
>> tests, the UTE verifier and quick tests, and the JTREG hotspot tests.
>>
>> Thanks, Harold
>>
>>
>
More information about the hotspot-runtime-dev
mailing list