Skip to content

Commit 75adf54

Browse files
committedNov 8, 2021
8276306: jdk/jshell/CustomInputToolBuilder.java fails intermittently on storage acquisition
Reviewed-by: jlahoda
1 parent 7320b77 commit 75adf54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎test/langtools/jdk/jshell/CustomInputToolBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import java.io.InputStream;
3636
import java.io.PrintStream;
3737
import java.util.Arrays;
38+
import java.util.HashMap;
3839
import java.util.List;
3940
import jdk.jshell.tool.JavaShellToolBuilder;
4041
import org.testng.annotations.Test;
@@ -88,6 +89,7 @@ private void doTest(boolean interactiveTerminal, String code, String... expected
8889
.out(printOut, printOut, printOut)
8990
.interactiveTerminal(interactiveTerminal)
9091
.promptCapture(true)
92+
.persistence(new HashMap<>())
9193
.start("--no-startup");
9294

9395
String actual = new String(out.toByteArray());

0 commit comments

Comments
 (0)
Please sign in to comment.