From 6e9fcc2d80170c79e45b8710e98754c67d544012 Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Fri, 19 Jul 2024 12:28:56 +0000 Subject: [PATCH] 8336816: runtime/PrintingTests/StringPrinting.java fails with release VMs Reviewed-by: dholmes --- test/hotspot/jtreg/runtime/PrintingTests/StringPrinting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/runtime/PrintingTests/StringPrinting.java b/test/hotspot/jtreg/runtime/PrintingTests/StringPrinting.java index fffcdd72d15..f55a8308e6d 100644 --- a/test/hotspot/jtreg/runtime/PrintingTests/StringPrinting.java +++ b/test/hotspot/jtreg/runtime/PrintingTests/StringPrinting.java @@ -28,7 +28,7 @@ * @library /test/lib * @build jdk.test.whitebox.WhiteBox * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox - * @run main/othervm -Xbootclasspath/a:. -XX:+WhiteBoxAPI StringPrinting + * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI StringPrinting */ import jdk.test.whitebox.WhiteBox;