equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8200698 |
26 * @bug 8200698 |
27 * @summary Tests that exceptions are thrown for ops which would overflow |
27 * @summary Tests that exceptions are thrown for ops which would overflow |
28 * @requires os.maxMemory >= 4g |
28 * @requires (sun.arch.data.model == "64" & os.maxMemory >= 4g) |
29 * @run testng/othervm -Xmx4g LargeValueExceptions |
29 * @run testng/othervm -Xmx4g LargeValueExceptions |
30 */ |
30 */ |
31 import java.math.BigInteger; |
31 import java.math.BigInteger; |
32 import static java.math.BigInteger.ONE; |
32 import static java.math.BigInteger.ONE; |
33 import org.testng.annotations.Test; |
33 import org.testng.annotations.Test; |