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

Typo in `java -help` referencing -disable-@files instead of --disable-@files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 11, 17, 18
    • tools
    • None
    • b25

    Description

      There is an inconsistency in the documentation. Online documentation (https://docs.oracle.com/en/java/javase/18/docs/specs/man/java.html#standard-options-for-java) uses --disable-@files, while `java -help` uses -disable-@files. Regardless both ways fail, and it seems that the java -help is most likely the incorrect one based on code review.

      Attachments

        Issue Links

          Activity

            People

              asotona Adam Sotona
              asotona Adam Sotona
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: