RFR 8251414: Add test that invokeinterface of a protected method in java.lang.Object throws NoSuchMethodError

Lois Foltan lois.foltan at oracle.com
Fri Aug 14 15:09:50 UTC 2020


On 8/12/2020 2:14 PM, Harold Seigel wrote:
> Hi,
>
> Please review this change to add test cases to test 
> hotspot/jtreg/runtime/8026394/InterfaceObjectTest.java to check for 
> NoSuchMethodError exceptions when calling Object protected methods 
> clone() and finalize() using invokeinterface.
>
> Open Webrev: 
> http://cr.openjdk.java.net/~hseigel/bug_8251414/webrev/index.html
>
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8251414
>
> The fix was tested by running the modified test on multiple platforms, 
> including Mac OS, Windows, and Linux.
>
> Thanks, Harold

Looks good Harold.  Don't forget to update the copyright on file 
InterfaceObjectTest.java.

Thanks,
Lois


More information about the hotspot-runtime-dev mailing list