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

javac complains about no source files when asking for version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • tools
    • b31
    • generic
    • generic
    • Verified

      javac -version reports the version, but then goes on to complain about no source files being given.

      By contrast, javac -help and javac -X simply output information and exit OK.
      Likewise "java -version" and "java -fullversion" do not complain about a missing
      class to execute: they simply report the relevant version info and exit.

      javac -version should likewise just report its version and then exit.
      ###@###.### 2005-2-10 01:23:52 GMT

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: