8047366: (1000000000000000128).toString() and (1000000000000000128).toFixed() don't evaluate to expected values.
authorhannesw
Wed, 11 Nov 2015 16:35:38 +0100
changeset 33692 b1e37de33c9d
parent 33691 c35520c1bef1
child 33693 cc0617a78522
8047366: (1000000000000000128).toString() and (1000000000000000128).toFixed() don't evaluate to expected values. Reviewed-by: attila, sundar
nashorn/test/script/basic/JDK-8047369.js
--- a/nashorn/test/script/basic/JDK-8047369.js	Wed Nov 11 16:34:26 2015 +0100
+++ b/nashorn/test/script/basic/JDK-8047369.js	Wed Nov 11 16:35:38 2015 +0100
@@ -167,8 +167,8 @@
 CODE, "set \":\"(a) {}");
 
 // bug JDK-8047366
-// evalExpectValue("(1000000000000000128).toString()", "1000000000000000100");
-// evalExpectValue("(1000000000000000128).toFixed().toString()", "1000000000000000128");
+evalExpectValue("(1000000000000000128).toString()", "1000000000000000100");
+evalExpectValue("(1000000000000000128).toFixed().toString()", "1000000000000000128");
 
 try {
     Function("-", {