[PATCH]: javac N with jdk N-1

Remi Forax forax at univ-mlv.fr
Thu Apr 3 22:05:27 UTC 2014

On 04/03/2014 09:51 PM, Liam Miller-Cushon wrote:
> On Thu, Apr 3, 2014 at 11:30 AM, Remi Forax <forax at univ-mlv.fr 
> <mailto:forax at univ-mlv.fr>> wrote:
>     javac9 ??
>     I was thinking it was about running javac8 with jdk7 and not
>     javac9 with jdk7,
>     I have no problem with the former but I'm strongly against the later,
>     there are several parts of javac that can be simplified by using
>     lambdas instead of inner classes
>     so javac9 should not have a dependency on JRE n-2.
> Sorry, I was unclear - my proposal is still to allow javac N on jdk 
> N-1, where the specific N I'm interested in is 8. I understand that 
> the javac 9 code base will start using java 8 language features.
> The fact that the patch would currently allow javac9 to run on jdk7 is 
> just an artifact of javac9 not yet having diverged very far from javac8.

ok, got it.

> I guess my patch should target 8u directly, rather than going into 9 
> and being backported?

not sure, I will let Jon answer to that question.


More information about the compiler-dev mailing list