Uploaded image for project: 'CCC Migration Project'
  1. CCC Migration Project
  2. CCC-8028545

Add -source 9 and -target 9 to javac

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 9
    • tools
    • behavioral
    • minimal
    • add/remove/modify command line option
    • JDK

      Summary

      Have javac recognize "9" as a valid argument for the -source and -target options.

      Problem

      New JDK release, new source and target values are needed in javac.

      Solution

      Add javac options -source 9 -source 1.9 -target 9 -target 1.9

      Specification

      -source 1.9
      The compiler accepts code with features introduced in Java SE 9.
       
      -source 9
      Synonym for 1.9.
       
      -target 1.9
      The compiler outputs class files appropriate for the 9 platform.
       
      -target 9
      Synonym for 1.9.

            darcy Joe Darcy
            darcy Joe Darcy
            Jan Lahoda, Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: