test/script/basic/JDK-8157160.js.EXPECTED

Fri, 10 Mar 2017 18:30:39 +0100

author
hannesw
date
Fri, 10 Mar 2017 18:30:39 +0100
changeset 2023
1786ff57788b
parent 1824
258478e90f2d
permissions
-rw-r--r--

8176511: JSObject property access is broken for numeric keys outside the int range
Reviewed-by: sundar

     1 {"foo":42}
     2 [5,6,76,7]
     3 "hello"
     4 {"name":"nashorn","versions":["es5.1","es6"]}
     5 true
     6 {"x":42,"y":"hello"}
     7 "my json representation"
     8 "value from toJSON function"
     9 {"foo":"HELLO"}

mercurial