JDK-8235529 : Add source 15 and target 15 to javac
  • Type: CSR
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 15
  • Submitted: 2019-12-07
  • Updated: 2020-05-21
  • Resolved: 2019-12-10
Related Reports
CSR :  
Description
Summary
-------

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

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

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


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

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


Comments
Moving to Approved.
10-12-2019