[PATCH]: javac N with jdk N-1

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Apr 4 21:45:27 UTC 2014


On 04/03/2014 12: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.
>
> I guess my patch should target 8u directly, rather than going into 9 
> and being backported?

Generally, fixes go to 9 first, and are then backported.  I don't see a 
compelling need to deviate from that policy in this case.

-- Jon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140404/4cf0b3b1/attachment.html>


More information about the compiler-dev mailing list