Can javac 11 compile for Java 6 / 7?

Sven Reimers sven.reimers at gmail.com
Sun Mar 25 22:03:55 UTC 2018


Hi,

my understanding was LTS is an Oracle decision not OpenJDK. So should the
policy reflect the Oracle lifecycle or the general OpenJDK 6 month cycle?

Thanks for clarifying

Sven

joe darcy <joe.darcy at oracle.com> schrieb am So., 25. März 2018, 20:34:

> On 3/25/2018 2:52 AM, Naman <> NullPointer wrote:
> > Just to support that this is stated in the JEP-182 [1], which might need
> an
> > edit if the policy is not followed or updated with JDK 10.
> >
> > JDK 9 will implement a "one plus three back" support policy meaning that
> 1.9
> >> /9, 1.8/8, 1.7/7, and 1.6/6 will be recognized in that release. That
> >> policy will continue in JDK 10.
>
> More specifically, the comment in the underlying bug states:
>
> "Note that with the six month release cadence
> (http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html
> )
> being used starting with JDK 10, the chronological range covered by "one
> plus three back" would be much shortened. In due course, this policy
> will be updated accordingly, possibly taking into account LTS (long term
> support) releases and possibly offering a sparse set of values. For
> example, one possible policy would be to support the last two LTS
> release and each release after the most recent LTS, but not the releases
> between those two LTS releases. "
>
>
> https://bugs.openjdk.java.net/browse/JDK-8046172?focusedCommentId=14145783&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14145783
>
> In other words, it is possible JDK 11 will ship with a different set of
> support source, target, and --release values than it has now.
>
> HTH,
>
> -Joe
>


More information about the jdk-dev mailing list