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

javac tool documentation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u66
    • docs
    • x86
    • windows_8

      A DESCRIPTION OF THE PROBLEM :
      note: this is related to issue JDK-8073216, but not a duplicate

      The description of -Xlint:name is wrong, and should be consistent with the description of -Xlint:-name.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      -Xlint:name
          Enables warning name. See Enable or Disable Warnings with the -Xlint Option for a list of warnings you can enable with this option.

      -Xlint:-name
          Disables warning name. See Enable or Disable Warnings with the -Xlint Option for a list of warnings you can disable with this option.

      ACTUAL -
      -Xlint:name
          Disables warning name. See Enable or Disable Warnings with the -Xlint Option for a list of warnings you can disable with this option.

      -Xlint:-name
          Disables warning name. See Enable or Disable Warnings with the -Xlint Option with the -Xlint option to get a list of warnings that you can disable with this option.


      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html

            ashenoy Anjana Shenoy (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: