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

Fri, 21 Mar 2014 20:24:01 +0530

author
sundar
date
Fri, 21 Mar 2014 20:24:01 +0530
changeset 772
c1f528e1d2f2
parent 0
b1a7da25b547
permissions
-rw-r--r--

8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
Reviewed-by: jlaskey, hannesw

     1 o.foo = 33
     2 o.foo = 44
     3 o.foo = 3
     4 o.foo = hello
     5 obj1.func called
     6 obj2.func called
     7 no such method: func
     8 obj4's prototype func called
     9 MyConstructor.prototype.func
    10 MyConstructor.prototype.func
    11 obj1.func called
    12 obj2.func called
    13 new obj3.func called
    14 new obj4.func called
    15 all new MyConstructor.prototype.func
    16 all new MyConstructor.prototype.func
    17 obj.__noSuchProperty__ for foo
    18 new obj.__noSuchProperty__ for foo
    19 proto.__noSuchProperty__ for foo
    20 new proto.__noSuchProperty__ for foo
    21 find
    22 find

mercurial