RFR 8183962: JVM_DoPrivileged does not find run method in default methods
harold seigel
harold.seigel at oracle.com
Wed Jul 12 12:45:00 UTC 2017
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