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

javac tool documentation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u31
    • docs
    • x86
    • windows_8
    • Verified

      A DESCRIPTION OF THE PROBLEM :
      note: the exact same errors are also on the Unix documentation URL: http://docs.oracle.com/javase/8/docs/technotes/tools/unix/javac.html

      1) the option "-werror" should be "-Werror" with uppercase W
      2) in the description of "-Xdoclint:[-]group [/access]", the example descriptions are wrong
      2a) For example, [...] access level protected and higher (which includes protected, package and public):
      should be
      For example, [...] access level protected and higher (which includes protected and public):
      2b) [...] access level package and higher (which includes package and public):
      should be
      [...] access level package and higher (which includes package, protected and public):
      3) in the description of "-Xdoclint:[-]group [/access]", the default access level must be specified (for Java 1.8.0_31, the default is private)
      4) in the section "Enable or Disable Warnings with the -Xlint Option" the option "Serial" should be "serial" with lowercase s



      URL OF FAULTY DOCUMENTATION :
      http://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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: