Fri, 21 Mar 2014 20:24:01 +0530
8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw
jlaskey@3 | 1 | anon func |
jlaskey@3 | 2 | 225 |
jlaskey@3 | 3 | function (x) { |
jlaskey@3 | 4 | print('anon func'); return x*x; |
jlaskey@3 | 5 | } |
jlaskey@3 | 6 | syntax error? true |
sundar@316 | 7 | SyntaxError: <function>:1:13 Missing close quote |
jlaskey@3 | 8 | print('hello) |
jlaskey@3 | 9 | ^ |
jlaskey@3 | 10 | done |