[8u] RFR(S): 8247817: Some incompatible APIs in jdk/test/lib

Hohensee, Paul hohensee at amazon.com
Thu Jun 18 21:27:36 UTC 2020


Would you describe the problems you encountered that this patch solves please? The Whitebox issue is obvious, but the purpose of the other changes isn't.

Thanks,
Paul

On 6/17/20, 5:29 PM, "jdk8u-dev on behalf of Liu, Xin" <jdk8u-dev-bounces at openjdk.java.net on behalf of xxinliu at amazon.com> wrote:

    Hi, maintainers,

    Could you review this webrev for jdk8u-dev/jdk?

    Bug: https://bugs.openjdk.java.net/browse/JDK-8247817

    Webrev: http://cr.openjdk.java.net/~xliu/8247817/00/webrev/


    Description:

    I ran into these problems when I try to use jdk/test/lib of jdk repo,  
    which was introduced for JFR testing,  to run hotspot/test/vmtestbase.

    I guess the JFR testing doesn't cover them. IMHO, we'd better fix them 
    for jdk8u, Otherwise we will observe something strange when we really 
    use them.

    eg. The whitebox api isMethodCompilable doesn't work. It's because 
    CompLevel_any=-1 in jdk8u. Whitebox APIs must be consistent with the 
    implementation of hotspot.

    thanks,

    --lx





More information about the jdk8u-dev mailing list