On Thu, 19 Nov 2020 14:40:45 GMT, Guoxiong Li
<[email protected]> wrote:
> Hi all,
>
> `TestDriver.java` used `sun.hotspot.WhiteBox.getBooleanVMFlag("Use*GC")`
> which could return null.
> This patch uses `sun.hotspot.gc.GC` instead of `sun.hotspot.WhiteBox` to
> avoid the NullPointerException.
> Thank you for taking the time to review.
>
> Best Regards.
This pull request has now been integrated.
Changeset: 5fedb69e
Author: Guoxiong Li <[email protected]>
Committer: Aleksey Shipilev <[email protected]>
URL: https://git.openjdk.java.net/jdk/commit/5fedb69e
Stats: 7 lines in 1 file changed: 2 ins; 0 del; 5 mod
8250888: nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java
fails
Reviewed-by: cjplummer, sspitsyn
-------------
PR: https://git.openjdk.java.net/jdk/pull/1319