[9] RFR of 8042983: test/java/math/BigInteger/ExtremeShiftingTests.java needs too much heap

Brian Burkhalter brian.burkhalter at oracle.com
Mon Jun 29 17:30:34 UTC 2015


Please review at your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8042983
Patch:	see diff below

Summary: Restrict test execution to systems having at least 1GB of physical memory.

Thanks,

Brian

--- a/test/java/math/BigInteger/ExtremeShiftingTests.java
+++ b/test/java/math/BigInteger/ExtremeShiftingTests.java
@@ -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
  */


More information about the core-libs-dev mailing list