changeset 12253:4295e339331c

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
author bpb
date Mon, 29 Jun 2015 14:49:47 -0700
parents 38532533cd3c
children 119f69c81d70
files test/java/math/BigInteger/ExtremeShiftingTests.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/math/BigInteger/ExtremeShiftingTests.java	Mon Jun 29 11:38:36 2015 -0700
+++ b/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
  */