Details
-
Type:
CSR
-
Status: Closed
-
Priority:
P4
-
Resolution: Approved
-
Fix Version/s: 14
-
Component/s: tools
-
Labels:None
-
Subcomponent:
-
Compatibility Kind:behavioral
-
Compatibility Risk:minimal
-
Compatibility Risk Description:Expected tool evolution.
-
Interface Kind:add/remove/modify command line option
-
Scope:JDK
Description
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.
Attachments
Issue Links
- csr of
-
JDK-8214548 Add source 14 and target 14 to javac
-
- Resolved
-