Tue, 01 Sep 2015 18:28:11 +0530
8068901: Surprising behavior with more than one functional interface on a class
8068903: Can't invoke vararg @FunctionalInterface methods
Reviewed-by: attila, hannesw
1 R1.run() invoked
2 R2.run() invoked
3 r3.run() invoked
4 r1.class !== r2.class: true
5 r2.class !== r3.class: true
6 Got exception: java.lang.UnsupportedOperationException
7 Got exception: java.lang.UnsupportedOperationException
8 (new ExtendsList).size() = 0
9 (new (Java.extend(ExtendsList)){}).size() = 0