From c701647b32c43a12428919fcb39cbcec7ccebea3 Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Mon, 23 Feb 2026 10:21:57 +0000 Subject: [PATCH] 8378397: Disable usage of system level jshell history in test/hotspot/jtreg/runtime/os/TestWXHealing.java Reviewed-by: dholmes, jlahoda --- test/hotspot/jtreg/runtime/os/WXHealing.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/hotspot/jtreg/runtime/os/WXHealing.java b/test/hotspot/jtreg/runtime/os/WXHealing.java index ba790db2c59..eb5c5ad7b4b 100644 --- a/test/hotspot/jtreg/runtime/os/WXHealing.java +++ b/test/hotspot/jtreg/runtime/os/WXHealing.java @@ -22,6 +22,8 @@ */ import java.io.*; +import java.util.HashMap; + import jdk.jshell.tool.*; public class WXHealing { @@ -31,6 +33,8 @@ public class WXHealing { public static void main(String[] args) throws Throwable { JavaShellToolBuilder .builder() + // we don't need system level history/storage for this test + .persistence(new HashMap<>()) .in(new ByteArrayInputStream (""" void main() {