Skip to content

Commit 1594372

Browse files
committed
8258584: java/util/HexFormat/HexFormatTest.java fails on x86_32
Reviewed-by: rriggs
1 parent 30b9ff6 commit 1594372

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/jdk/java/util/HexFormat/HexFormatTest.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
import org.testng.annotations.DataProvider;
2525
import org.testng.annotations.Test;
26+
import org.testng.SkipException;
2627

2728
import java.io.CharArrayWriter;
2829
import java.io.IOException;
@@ -42,7 +43,7 @@
4243
/*
4344
* @test
4445
* @summary Check HexFormat formatting and parsing
45-
* @run testng/othervm -Xmx4G HexFormatTest
46+
* @run testng/othervm HexFormatTest
4647
*/
4748

4849
@Test
@@ -645,7 +646,7 @@ static void testOOME(String delimiter, String prefix, String suffix, boolean upp
645646
Runtime.getRuntime().totalMemory(),
646647
Runtime.getRuntime().freeMemory(),
647648
Runtime.getRuntime().maxMemory());
648-
throw oome;
649+
throw new SkipException("Insufficient Memory to test OOME");
649650
}
650651

651652
}

0 commit comments

Comments
 (0)