RFR 8183962: JVM_DoPrivileged does not find run method in default methods

Karen Kinnear karen.kinnear at oracle.com
Wed Jul 12 13:23:09 UTC 2017


Harold,

Looks great! Thank you for creating the second test case.

And thank you for running all the other tests.
Karen

> On Jul 12, 2017, at 8:45 AM, harold seigel <harold.seigel at oracle.com> wrote:
> 
> Hi,
> 
> Please review this fix for JDK-8183962.  As suggested by Karen, the fix searches a class's super interfaces for  run() methods, if needed.  Additionally, the fix checks if an abstract method was found, and if so, throws an exception.
> 
> Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8183962/webrev/
> 
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8183962
> 
> The fix was tested with JCK Lang, VM, and API/java_lang, java_security, and javax_security tests, the JTreg hotspot, java/io, java/lang, java/util and other tests, the co-located NSK tests, RBT tests, and with JPRT.  (Thanks to Michael Rasmussen for the original test program.)
> 
> Thanks, Harold
> 



More information about the hotspot-runtime-dev mailing list