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

JDK 8's javac does not list -source 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8u20
    • Component/s: docs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      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

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

              Dates

              Due:
              Created:
              Updated:
              Resolved: