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
attila@175 | 1 | R1.run() invoked |
attila@175 | 2 | R2.run() invoked |
attila@175 | 3 | r3.run() invoked |
attila@719 | 4 | r1.class !== r2.class: true |
attila@719 | 5 | r2.class !== r3.class: true |
attila@175 | 6 | Got exception: java.lang.UnsupportedOperationException |
attila@175 | 7 | Got exception: java.lang.UnsupportedOperationException |
attila@175 | 8 | (new ExtendsList).size() = 0 |
attila@719 | 9 | (new (Java.extend(ExtendsList)){}).size() = 0 |