RFR 8183962: JVM_DoPrivileged does not find run method in default methods
harold.seigel at oracle.com
Wed Jul 12 13:53:01 UTC 2017
On 7/12/2017 9:23 AM, Karen Kinnear wrote:
> Looks great! Thank you for creating the second test case.
> And thank you for running all the other tests.
>> On Jul 12, 2017, at 8:45 AM, harold seigel <harold.seigel at oracle.com> wrote:
>> 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