From 8713dfa64ef4c55c8b9a3be8aab2bb5e16c627da Mon Sep 17 00:00:00 2001 From: Markus Karg Date: Sun, 9 Oct 2022 13:55:27 +0000 Subject: [PATCH] 8294541: java/io/BufferedInputStream/TransferTo.java fails with OOME Reviewed-by: alanb --- test/jdk/ProblemList.txt | 1 - test/jdk/java/io/BufferedInputStream/TransferTo.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt index 469f9261f1f..30e2171f4e0 100644 --- a/test/jdk/ProblemList.txt +++ b/test/jdk/ProblemList.txt @@ -507,7 +507,6 @@ java/lang/instrument/RetransformBigClass.sh 8065756 generic- # jdk_io java/io/pathNames/GeneralWin32.java 8180264 windows-all -java/io/BufferedInputStream/TransferTo.java 8294541 generic-all java/io/File/createTempFile/SpecialTempFile.java 8274122 windows11 java/io/File/GetXSpace.java 8291911 windows-all diff --git a/test/jdk/java/io/BufferedInputStream/TransferTo.java b/test/jdk/java/io/BufferedInputStream/TransferTo.java index e5211a5ceaf..a0d7b0ee9bd 100644 --- a/test/jdk/java/io/BufferedInputStream/TransferTo.java +++ b/test/jdk/java/io/BufferedInputStream/TransferTo.java @@ -61,8 +61,8 @@ import static org.testng.Assert.assertTrue; * @test * @library /test/lib * @build jdk.test.lib.RandomFactory - * @run testng/othervm/timeout=180 TransferTo - * @bug 8279283 + * @run testng/othervm/timeout=180 -Xmx1280m TransferTo + * @bug 8279283 8294541 * @summary Tests whether java.io.BufferedInputStream.transferTo conforms to the * InputStream.transferTo specification * @key randomness