Java 7 -> Java8 code breakage scenarios

Boaz Nahum boaznahum at
Thu Feb 28 05:24:11 PST 2013


> public class C {
>     void test(B b) {
>         Tester.m(B.n());
>     }
> }
> Which is the very one you got. If you'd be so kind to give me some details
> about the other stack trace you were getting (Types.rank) so that I can
> come up with some test case (i.e. what is the code that triggered it).
> Maurizio
Yes exactly. If you named B.n() instead of inline it in the method call
then you got 'normal' error message.
The 'rank' exception - I'm working on it.

Thanks !!!

More information about the lambda-dev mailing list