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

Typo in java.sun.com/..../javac.html

XMLWordPrintable

    • generic
    • generic

        Typo in java.sun.com, but significant.
        javac.html says as -Xmaxerrors but compiler says it as -Xmaxerrs.

        Please see the URL
        http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html
        it says
        <java.sun.com>
        .
        .
        -Xmaxerrors number
            Set the maximum number of errors to print.
        ..
        .
        .
        </java.sun.com>

        But the compiler says
        <compiler>
        bash-3.00$ /net/sqindia/export/disk09/jdk/1.5.0/rc/b63/binaries/solsparc/bin/javac -X
          -Xlint Enable recommended warnings
          -Xlint:{all,deprecation,unchecked,fallthrough,path,serial,finally,-deprecation,-unchecked,-fallthrough,-path,-serial,-finally}Enable or disable specific warnings
          -Xbootclasspath/p:<path> Prepend to the bootstrap class path
          -Xbootclasspath/a:<path> Append to the bootstrap class path
          -Xbootclasspath:<path> Override location of bootstrap class files
          -Djava.ext.dirs=<dirs> Override location of installed extensions
          -Djava.endorsed.dirs=<dirs>Override location of endorsed standards path
          -Xmaxerrs <number> Set the maximum number of errors to print
          -Xmaxwarns <number> Set the maximum number of warnings to print
          -Xstdout <filename> Redirect standard output

        These options are non-standard and subject to change without notice.
        </compiler>

              jjg Jonathan Gibbons
              savadhansunw Seetharama Avadhanam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: