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

George Triantafillou george.triantafillou at oracle.com
Wed Jul 12 13:51:01 UTC 2017

Hi Harold,

Looks good.  Thanks for doing this.


On 7/12/2017 8:45 AM, harold seigel 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