Please provide default impl for new methods on Collection/Map interfaces

Remi Forax forax at univ-mlv.fr
Thu Sep 20 04:41:38 PDT 2012


On 09/20/2012 01:37 PM, Peter Reilly wrote:
> Looking at the code, I see that there are indeed default implementations for
> these methods.
>
> Looking at my build, I see that I was compiling with target=1.6 source=1.6.
> When I set these to 1.8, the problem goes away.
>
> The code should still compile with target=1.6,source=1.6, however I can see
> that handling of the default methods in this case may be problematic.

so there is a bug because default methods should not compile with target 
1.6.

>
> Thanks for the very quick response!
>
> Peter

Rémi



More information about the lambda-dev mailing list