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 'abc'.lastIndexOf('a', 4) = 0
2 'abc'.lastIndexOf('b', Infinity) = 1
3 'abc'.lastIndexOf('a', -1) = 0
4 'abc'.lastIndexOf('a', -Infinity) = 0
5 'oracle'.lastIndexOf('u') = -1
6 'hello'.lastIndexOf('l') = 3
7 'hello'.lastIndexOf('l', 2) = 2
8 'hello'.lastIndexOf('l', 3) = 3
9 'hello'.lastIndexOf('l', 1) = -1