Integrated: 8250888: nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java fails
Guoxiong Li
github.com+13688759+lgxbslgx at openjdk.java.net
Fri Nov 20 07:06:07 UTC 2020
On Thu, 19 Nov 2020 14:40:45 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> 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 <lgxbslgx at gmail.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
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
More information about the serviceability-dev
mailing list