Defaut methods are not visible if -source 1.7 is set

Remi Forax forax at univ-mlv.fr
Tue Oct 29 11:44:29 PDT 2013


On 10/29/2013 07:44 PM, Brian Goetz wrote:
> No, this is crazy.  THis means anyone who has an existing 
> implementation of List, who tries to recompile it using javac with 
> -source 7, will not be able to recompile their code.  But this is the 
> primary use case for -source 1.7!

you forget the: "or have to set the bootclasspath" at the end of your 
first sentence.

>
>> Default methods are abstract with -source 1.7 is more appealing to me.

Rémi



More information about the lambda-spec-observers mailing list