hg: jdk9/dev/nashorn: 8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Thu Jul 16 10:16:10 UTC 2015


Changeset: 9b45ff9ffa8f
Author:    sundar
Date:      2015-07-16 15:45 +0530
URL:       http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/9b45ff9ffa8f

8131039: after adding a function property to Object.prototype, JSON.parse with reviver function goes into infinite loop
Reviewed-by: hannesw, mhaupt

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSONFunctions.java
+ test/script/basic/JDK-8131039.js



More information about the jdk9-dev-changes mailing list