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

JDK 8's javac does not list -source 8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u20
    • None
    • docs
    • None
    • inapplicable

    Description

      The javac documentation at http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html
      lists older versions but does not list 1.8 or 8.

      Also for the -target part, it says:
      "If the -source option is not specified, then the value of the -target option is 1.7"
      This should probably be 1.8 now.


      Finally, example 5 explains how to cross-compile for an older version. JDK 7 used JDK 6 for its example, so JDK 8 should probably use JDK 7.

      Attachments

        Activity

          People

            rgallard Raymond Gallardo
            ecostlow Erik Costlow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: