nashorn/test/script/basic/JDK-8157160.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 38483 84396baa1cb3
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
38483
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     1
{"foo":42}
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     2
[5,6,76,7]
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     3
"hello"
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     4
{"name":"nashorn","versions":["es5.1","es6"]}
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     5
true
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     6
{"x":42,"y":"hello"}
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     7
"my json representation"
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     8
"value from toJSON function"
84396baa1cb3 8157160: JSON.stringify does not work on ScriptObjectMirror objects
sundar
parents:
diff changeset
     9
{"foo":"HELLO"}