--- old/src/share/classes/java/lang/Double.java 2011-09-18 18:12:52.000000000 -0700 +++ new/src/share/classes/java/lang/Double.java 2011-09-18 18:12:52.000000000 -0700 @@ -283,7 +283,7 @@ // Initialized to maximum size of output. StringBuffer answer = new StringBuffer(24); - if (FpUtils.rawCopySign(1.0, d) == -1.0) // value is negative, + if (Math.copySign(1.0, d) == -1.0) // value is negative, answer.append("-"); // so append sign info answer.append("0x"); @@ -322,7 +322,7 @@ // E_min -1). answer.append("p" + (subnormal ? DoubleConsts.MIN_EXPONENT: - FpUtils.getExponent(d) )); + Math.getExponent(d) )); } return answer.toString(); }