-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
x86
-
linux
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)
======================================================================
- duplicates
-
JDK-4768719 Add documentation for -Xwerror in tiger
- Closed