From db2dffb6e5fed3773080581350f7f5c0bcff8f35 Mon Sep 17 00:00:00 2001 From: Leonid Mesnik Date: Wed, 16 Apr 2025 23:04:37 +0000 Subject: [PATCH] 8354559: gc/g1/TestAllocationFailure.java doesn't need WB API Reviewed-by: ayang, kbarrett --- test/hotspot/jtreg/gc/g1/TestAllocationFailure.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/hotspot/jtreg/gc/g1/TestAllocationFailure.java b/test/hotspot/jtreg/gc/g1/TestAllocationFailure.java index cd4c991de26..a0aabf359b4 100644 --- a/test/hotspot/jtreg/gc/g1/TestAllocationFailure.java +++ b/test/hotspot/jtreg/gc/g1/TestAllocationFailure.java @@ -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;