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
aoqi@0 | 1 | check with loadWithNewGlobal |
aoqi@0 | 2 | obj.x 344 |
aoqi@0 | 3 | obj.y 12 |
aoqi@0 | 4 | obj instanceof global.Point? true |
aoqi@0 | 5 | p.x 343 |
aoqi@0 | 6 | p.y 54 |
aoqi@0 | 7 | p instanceof P? true |
aoqi@0 | 8 | check with script engine |
aoqi@0 | 9 | obj.x 344 |
aoqi@0 | 10 | obj.y 12 |
aoqi@0 | 11 | obj instanceof global.Point? true |
aoqi@0 | 12 | p.x 343 |
aoqi@0 | 13 | p.y 54 |
aoqi@0 | 14 | p instanceof P? true |