JDK-8193350 : Add -source 11 and -target 11 to javac
  • Type: CSR
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 11
  • Submitted: 2017-12-12
  • Updated: 2017-12-15
  • Resolved: 2017-12-14
Related Reports
CSR :  
Description
Summary
-------

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

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 support for  `javac -source 11 ..` and `javac -target 11 ...`. Note:  in a break from previous conventions an alias of "1.11" for "11" is *not* being added. The new value of -source/-target is also made the default.

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

No update is needed in `javac --help`; the conceptual man page should reflect the increased range of `-source`/`-target` values.


Comments
Moving to approved.
14-12-2017

Reviewed. -Sundar
14-12-2017