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

Add source 18 and target 18 to javac

    XMLWordPrintable

Details

    • CSR
    • Status: Closed
    • P4
    • Resolution: Approved
    • 18
    • tools
    • None
    • behavioral
    • minimal
    • add/remove/modify command line option
    • JDK

    Description

      Summary

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

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

      Specification

      Add support for javac -source 18 ..., and javac -target 18 ..., and javac --release 18 ....

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

      As a consequence of adding support for the new argument to javac, support is also added to javadoc and the java --source option.

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              darcy Joe Darcy
              Joel Borggrén-Franck (Inactive), Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: