hg: jdk9/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 14:56:18 UTC 2014


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

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 jdk9-dev-changes mailing list