Can javac 11 compile for Java 6 / 7?
Naman <> NullPointer
namannigam12 at gmail.com
Sun Mar 25 09:52:02 UTC 2018
Just to support that this is stated in the JEP-182 , 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.
LinkedIn <https://www.linkedin.com/in/nigamnaman> | GitHub
<https://github.com/namannigam> | StackOverflow
On Sun, Mar 25, 2018 at 1:02 PM, Nicolai Parlog <nipa at codefx.org> wrote:
> Javac 9 supports "one plus three back" for the three flags -release,
> -source, and -target, meaning "6" was a valid value for all of them.
> Javac 10 did not change that and javac 11 (build 5) doesn't seem to do
> that either. Will it stay that way until the release in September, i.e.
> will JDK 11 allow compiling code for Java 6?
> so long ... Nicolai
> PGP Key:
> a blog about software development
> high-quality Java/JVM content
> Free and Open Source Software for the City of Dortmund
More information about the jdk-dev