hg: jdk8u/jdk8u-dev/nashorn: 8149334: JSON.parse(JSON.stringify([])).push(10) creates an array containing two elements

michael.haupt at oracle.com michael.haupt at oracle.com
Tue Feb 9 09:04:27 UTC 2016


Changeset: 29603fdf59a8
Author:    mhaupt
Date:      2016-02-09 10:00 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/nashorn/rev/29603fdf59a8

8149334: JSON.parse(JSON.stringify([])).push(10) creates an array containing two elements
Reviewed-by: jlaskey, sundar

! src/jdk/nashorn/internal/runtime/arrays/ArrayData.java
+ test/script/nosecurity/JDK-8149334.js
+ test/script/nosecurity/JDK-8149334.js.EXPECTED



More information about the jdk8u-dev-changes mailing list