Method References
Fredrik Öhrström
fredrik.ohrstrom at oracle.com
Fri Feb 26 04:45:39 PST 2010
Rémi Forax skrev:
> Hi Fredrik,
> there is a source compatibility issue if you allow to not specify the type.
>
>
Hi Rémi,
there is a source compatibility issue if you allow to change the name
of a method.... ;-)
> If reference can be created without types,
> this change is no more compatible because the compiler should raise an
> error.
>
Obviously you can change the source code so that it no longer is
possible to deduce which method to lookup without the types. But if you
do, then you will get an error and you will have to specify the type.
This is not a problem.
//Fredrik
More information about the lambda-dev
mailing list