Method References
Neal Gafter
neal at gafter.com
Fri Feb 26 08:15:42 PST 2010
On Fri, Feb 26, 2010 at 2:45 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> there is a source compatibility issue if you allow to not specify the type.
>
> class A {
> void m(String s) { ... }
> }
> ....
> ref = A#m;
>
> Now suppose I want to add a new method m(Integer),
>
Adding a new method to a class is not a source-compatible change today.
However, it is a binary-compatible change today and both with and without
method references and with or without the proposed method reference argument
inference.
More information about the lambda-dev
mailing list