Fri, 21 Feb 2014 17:58:33 +0530
8033745: Reflect upon Nashorn reflection
Reviewed-by: ahgross, attila, jlaskey
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