8047366: (1000000000000000128).toString() and (1000000000000000128).toFixed() don't evaluate to expected values

Reviewed-by: attila, sundar
This commit is contained in:
Hannes Wallnöfer 2015-11-11 16:35:38 +01:00
parent 12e30a3d04
commit 3bfbc63cd6

View file

@ -167,8 +167,8 @@ evalExpectValue(<<CODE
CODE, "set \":\"(a) {}"); CODE, "set \":\"(a) {}");
// bug JDK-8047366 // bug JDK-8047366
// evalExpectValue("(1000000000000000128).toString()", "1000000000000000100"); evalExpectValue("(1000000000000000128).toString()", "1000000000000000100");
// evalExpectValue("(1000000000000000128).toFixed().toString()", "1000000000000000128"); evalExpectValue("(1000000000000000128).toFixed().toString()", "1000000000000000128");
try { try {
Function("-", { Function("-", {