Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8225365

Add -source 14 and -target 14 and --release 14 to javac

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 14
    • tools
    • None
    • behavioral
    • minimal
    • Expected tool evolution.
    • add/remove/modify command line option
    • JDK

      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.

            darcy Joe Darcy
            darcy Joe Darcy
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: