test/jdk/java/math/BigInteger/LargeValueExceptions.java
changeset 54305 848859723503
parent 53327 620b31ed8807
equal deleted inserted replaced
54304:78f88c4423a4 54305:848859723503
    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;