8354559: gc/g1/TestAllocationFailure.java doesn't need WB API

Reviewed-by: ayang, kbarrett
This commit is contained in:
Leonid Mesnik 2025-04-16 23:04:37 +00:00
parent a2d7f441b8
commit db2dffb6e5

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,10 +31,7 @@ package gc.g1;
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
* gc.g1.TestAllocationFailure
* @run driver gc.g1.TestAllocationFailure
*/
import jdk.test.lib.process.OutputAnalyzer;