Summary
Add -source
and -target
and --release
options to javac
corresponding to JDK 16.
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
Add 16
as a valid argument to the options in question.
Specification
Add support for javac -source 16 ...
, and javac -target 16 ...
, and javac --release 16 ...
.
The new value of -source/-target is also made the default.
- csr of
-
JDK-8245586 Add source 16 and target 16 to javac
- Resolved