JDK-8257454 : Add source 17 and target 17 to javac
  • Type: CSR
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 17
  • Submitted: 2020-11-30
  • Updated: 2020-12-02
  • Resolved: 2020-12-01
Related Reports
CSR :  
Description
Summary
-------

Add `-source` and `-target` and `--release` options to `javac` corresponding to JDK 17.

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 `17` as a valid argument to the options in question.

Specification
-------------


Add support for  `javac -source 17 ...`, and `javac -target 17 ...`, and `javac --release 17 ...`.

The new value of -source/-target is also made the default.


Comments
Moving to Approved.
01-12-2020