--- old/test/java/lang/Math/Log1pTests.java 2014-08-19 20:24:11.000000000 +0800 +++ new/test/java/lang/Math/Log1pTests.java 2014-08-19 20:24:11.000000000 +0800 @@ -28,8 +28,6 @@ * @author Joseph D. Darcy */ -import sun.misc.DoubleConsts; - public class Log1pTests { private Log1pTests(){} @@ -86,14 +84,14 @@ } // For |x| < 2^-54 log1p(x) ~= x - for(int i = DoubleConsts.MIN_SUB_EXPONENT; i <= -54; i++) { + for(int i = DoubleUtils.MIN_SUB_EXPONENT; i <= -54; i++) { double d = Math.scalb(2, i); failures += testLog1pCase(d, d); failures += testLog1pCase(-d, -d); } // For x > 2^53 log1p(x) ~= log(x) - for(int i = 53; i <= DoubleConsts.MAX_EXPONENT; i++) { + for(int i = 53; i <= Double.MAX_EXPONENT; i++) { double d = Math.scalb(2, i); failures += testLog1pCaseWithUlpDiff(d, StrictMath.log(d), 2.001); }