--- old/test/java/lang/Math/Rint.java 2014-08-15 13:26:17.000000000 +0800 +++ new/test/java/lang/Math/Rint.java 2014-08-15 13:26:17.000000000 +0800 @@ -25,10 +25,11 @@ * @test * @bug 4101566 4831589 * @summary Check for correct implementation of Math.rint(double) + * @library /lib/testlibrary + * @build jdk.testlibrary.DoubleUtils jdk.testlibrary.FloatUtils + * @run main Rint */ -import sun.misc.DoubleConsts; - public class Rint { static int testRintCase(double input, double expected) { @@ -51,8 +52,8 @@ double [][] testCases = { {0.0, 0.0}, {Double.MIN_VALUE, 0.0}, - {Math.nextDown(DoubleConsts.MIN_NORMAL), 0.0}, - {DoubleConsts.MIN_NORMAL, 0.0}, + {Math.nextDown(Double.MIN_NORMAL), 0.0}, + {Double.MIN_NORMAL, 0.0}, {0.2, 0.0},