changeset 444:2707f600a096

8016701: JAXP Build failure Reviewed-by: darcy, wetmore, alanb, chegar
author robm
date Sat, 15 Jun 2013 09:26:42 +0100
parents 659828443145
children 0142ef23f1b4
files src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java	Fri Jun 14 15:14:49 2013 +0400
+++ b/src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java	Sat Jun 15 09:26:42 2013 +0100
@@ -952,7 +952,7 @@
                 return result;
         }
         else {
-            if (!Double.isFinite(d))
+            if (Double.isNaN(d) || Double.isInfinite(d))
                 return(Double.toString(d));
 
             //Convert -0.0 to +0.0 other values remains the same