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

Tue, 01 Sep 2015 18:28:11 +0530

author
sundar
date
Tue, 01 Sep 2015 18:28:11 +0530
changeset 1521
eed10d5bf2f4
parent 0
b1a7da25b547
permissions
-rw-r--r--

8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods
Reviewed-by: attila, 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