hg: jdk8u/jdk8u-dev/nashorn: 8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Fri Mar 21 15:36:43 UTC 2014


Changeset: c1f528e1d2f2
Author:    sundar
Date:      2014-03-21 20:24 +0530
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/nashorn/rev/c1f528e1d2f2

8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw

! src/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk/nashorn/internal/runtime/JSONFunctions.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/JDK-8037562.js
+ test/script/basic/JDK-8037562.js.EXPECTED



More information about the jdk8u-dev-changes mailing list