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

Provide better help message for javac -h case

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: