[PATCH]: javac N with jdk N-1

Liam Miller-Cushon cushon at google.com
Thu Apr 3 19:51:52 UTC 2014

On Thu, Apr 3, 2014 at 11:30 AM, Remi Forax <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.

I guess my patch should target 8u directly, rather than going into 9 and
being backported?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140403/be937509/attachment.html>

More information about the compiler-dev mailing list