Hi Fairoz, If the test needs to run with builds where the JFR module is not present(?), you need to do the check using reflection.
If not, looks good. Erik > On 1 Jun 2020, at 10:27, Fairoz Matte <fairoz.ma...@oracle.com> wrote: > > Hi, > > Please review this small test infra change to identify at runtime the JFR is > active or not. > > JBS - https://bugs.openjdk.java.net/browse/JDK-8243451 > Webrev - http://cr.openjdk.java.net/~fmatte/8243451/webrev.00/ > > Thanks, > Fairoz