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

Add -source 11 and -target 11 to javac

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      It is compatible with add new options to -source/-target. Making the latest -source/-target the default has been the policy for several JDK releases.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                darcy Joe Darcy
                Reviewed By:
                Jonathan Gibbons, Sundararajan Athijegannathan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: