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

Clash of old "-s" and new "-s dir" options in javac

    Details

    • Subcomponent:
    • Resolved In Build:
      b73
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The new -s dir used to specify the source output directory (and impl in javac.main.Main) clashes with the older undocumented -s switch used to request source output of generated files (and impl in javac.main.JavaCompiler).

      This means that if the documented "-s dir" option is used, when the time comes to generate any class files, JavaCompiler will instead try and generate source code instead.

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: