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

Duplicated error messages for "no source file" in javac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 9
    • tools
    • None
    • 9
    • generic
    • generic

      In JDK9 repo, when we run following:

      javac NoSuchFile.java

      we got the following duplicated error messages:

      javac: file not found: NoSuchFile.java
      Usage: javac <options> <source files>
      use -help for a list of possible options
      javac: no source files
      Usage: javac <options> <source files>
      use -help for a list of possible options

      It would be folowing:

      javac: file not found: NoSuchFile.java
      Usage: javac <options> <source files>
      use -help for a list of possible options

            jjg Jonathan Gibbons
            shinyafox Shinya Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: