test/script/basic/applycall.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 function call() { [native code] }
     2 func.call.length = 1
     3 hello, 
     4 world
     5 hello, 
     6 world
     7 hello, 
     8 world
     9 invokedynamic
    10  is great!
    11 func.apply.length = 2
    12 I am func2
    13 undefined
    14 undefined

mercurial