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

Duplicated code in javac man page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8, 8u5, 8u20, 9
    • docs
    • None
    • inapplicable

      In the man page for javac, the PROGRAMMATIC INTERFACE section contains two duplicated lines:

             JavaCompiler javac = ToolProvider.getSystemJavaCompiler();
             JavaCompiler javac = ToolProvider.getSystemJavaCompiler();

      I have checked that the bug is present in the following files:

      ./src/solaris/doc/sun/man/man1/ja/javac.1
      ./src/solaris/doc/sun/man/man1/javac.1
      ./src/linux/doc/man/ja/javac.1
      ./src/linux/doc/man/javac.1
      ./src/bsd/doc/man/javac.1

            rgallard Raymond Gallardo
            omajid Omair Majid
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: