[PATCH]: javac[8,9] with jdk7
Jeremy Manson
jeremymanson at google.com
Thu Apr 3 21:01:32 UTC 2014
Although this change does make javac9 run on JDK7, that's not what's
important about it. The changes that Liam is making here will be important
for running every future N on every future N-1. Basically, javacN should
*never* depend on SourceVersion.RELEASE_N.
This happens (coincidentally) to allow javac9 to run on JDK7, but that's
not something that is necessarily a feature requirement.
Jeremy
On Thu, Apr 3, 2014 at 11:30 AM, Remi Forax <forax at univ-mlv.fr> wrote:
> On 04/03/2014 07:40 PM, Liam Miller-Cushon wrote:
>
> On Wed, Mar 26, 2014 at 1:34 AM, Joel Borggrén-Franck <
>> joel.franck at oracle.com <mailto:joel.franck at oracle.com>> wrote:
>>
>> having javac run with JRE n-1 in a degraded state would be a nice
>> contribution if the patches aren't too intrusive.
>>
>>
>> It sounded like that was the general consensus, so I put together a patch
>> to allow javac 9 to run on jre 7 in a degraded state.
>>
>
> 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.
>
> regards,
> Rémi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140403/da223ee3/attachment.html>
More information about the compiler-dev
mailing list