Can we use -source 1.8 for 8u60?

Stanislav Baiduzhyi sbaiduzh at redhat.com
Mon Feb 23 10:27:11 UTC 2015


On Friday 20 February 2015 16:25:01 Jonathan Gibbons wrote:
> Generally, the rule is that most of the code base for any JDK N
> is that it can use -source N.
> 
> The primary exception is the code for javac, which is constrained
> to use -source N-1 and the API for JDK N-1.  This constraint allows
> us to build a version of javac which can be used to build the rest
> of JDK.

That makes sense, thank you for the explanation.

-- 
Regards,
    Stas



More information about the jdk8u-dev mailing list