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

Liu, Xin xxinliu at amazon.com
Thu Jun 18 00:28:05 UTC 2020


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