Provide better help message for javac -h case

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 9
    • Component/s: tools
    • None

      Use of javac -h to specify output directory for native headers is quite confusing.

      #/jdk/bin/javac -h
      javac: -h requires an argument
      Usage: javac <options> <source files>
      use --help for a list of possible options

      #/jdk/bin/javac -h bootclasspath
      javac: no source files

            Assignee:
            Unassigned
            Reporter:
            Dmitriy Samersoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: