Summary
Add -source
and -target
and --release
options to javac
corresponding to JDK 26.
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 26
as a valid argument to the options in question.
Specification
Add support for javac -source 26 ...
, and javac -target 26 ...
, and javac --release 26 ...
.
The new value of -source/-target is also made the default.
As a consequence of adding support for the new argument to javac
, support is also added to javadoc
and the java --source
option.
- csr of
-
JDK-8355751 Add source 26 and target 26 to javac
-
- Open
-
- relates to
-
JDK-8343000 Add source 25 and target 25 to javac
-
- Closed
-