The javac task allows the source to be specified as either 1.3 or 1.4. When using the javadoc task to create documentation for the same source, javadoc complains about the assert statements. Unlike the javac task there is no way to tell the javadoc task to pass the source option to javadoc.
This can probably be closed as specifying additionalparam="-source 1.4" makes it work. Perhaps that should end up as an example in the documentation though.
changed title for searching; left open as it should be fixed with a source attr or a doc patch. I am minded towards consistency with <javac>, and the attribute, even if it has too many parameters already.
marking this as a 1.4 bug in the keywords
fixed in nightly build 2002-04-09. Note that -source is an option of the standard doclet, so Ant will ignore it if you specify a custom doclet.
*** Bug 7857 has been marked as a duplicate of this bug. ***