# HG changeset patch # User bpb # Date 1435614587 25200 # Node ID 40f3cbfffce87fbe4144252a6f10d2442d0b3893 # Parent 67cd03bc9cceeeffb16de865db148103a94b7fd6 8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap Summary: Use @requires tag to suppress the test on limited memory systems. Reviewed-by: darcy diff -r 67cd03bc9cce -r 40f3cbfffce8 jdk/test/java/math/BigInteger/ExtremeShiftingTests.java --- a/jdk/test/java/math/BigInteger/ExtremeShiftingTests.java Mon Jun 29 11:38:36 2015 -0700 +++ b/jdk/test/java/math/BigInteger/ExtremeShiftingTests.java Mon Jun 29 14:49:47 2015 -0700 @@ -25,6 +25,7 @@ * @test * @bug 6371401 * @summary Tests of shiftLeft and shiftRight on Integer.MIN_VALUE + * @requires os.maxMemory >= 1g * @run main/othervm -Xmx512m ExtremeShiftingTests * @author Joseph D. Darcy */