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

javadoc tool: error exit status from doclet is not reflected by javadoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.2.0
    • tools
    • beta
    • sparc
    • solaris_2.5.1
    • Verified

      Tested in JDK1.2Beta4-E.

      Run javadoc command with custom doclets using option -doclet, error exit status from doclets is not reflected by javadoc:

      $ javadoc -doclet Test Test.java
      Loading source file Test.java...
      Constructing Javadoc information...

      $ echo $?
      0

      $ more Test.java
      import com.sun.javadoc.*;

      public class Test extends Doclet {
        
        public static boolean start(RootDoc root) {
          return false;
        }
      }
      $

            gafter Neal Gafter (Inactive)
            dyjiao Dianne Jiao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: