Summary
Add -source
and -target
and --release
options to javac
corresponding to JDK 14.
Problem
Part of starting development on a new JDK is adding .new -source
and -target
options to javac
. These options are used in the compilation of the JDK sources.
Solution
An overview of the solution. Alternative solutions may be discussed; links to rationale documents or review threads welcome to provide additional background to reviewers.
Specification
Add support for javac -source 14 ...
, and javac -target 14 ...
, and javac --release 14 ...
.
The new value of -source/-target is also made the default.
- csr of
-
JDK-8214548 Add source 14 and target 14 to javac
-
- Resolved
-