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.
-------------
Commit messages:
- 8250888: nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java
fails
Changes: https://git.openjdk.java.net/jdk/pull/1319/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1319&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8250888
Stats: 7 lines in 1 file changed: 2 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/1319.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1319/head:pull/1319
PR: https://git.openjdk.java.net/jdk/pull/1319