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

add a javadoc option to error on warning

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • tools



      Name: rmT116609 Date: 03/31/2004


      A DESCRIPTION OF THE REQUEST :
      javadoc produces a large number of useful warnings. I just cleaned up a large project so that javadoc runs cleanly and I would like it to stay that way. It would be nice to have the build fail if javadoc produced any warnings. Unfortunately, no matter how many warnings javadoc produces it will still return an exit status of 0. It would be great if there was a command line option to have warnings return an exit status of 0 along with errors similar to the gcc option -Werror

      JUSTIFICATION :
      If you have an automated build process that is run regulary and you never monitor javadoc, it is easy for tons of warnings to accumulate in the code. If javadoc would fail on warnings then the document errors would be caught immediately.
      (Incident Review ID: 245812)
      ======================================================================

            sseligmasunw Scott Seligman (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: