Repeated lint option parsing and difference in behavior

Dawid Weiss dawid.weiss at gmail.com
Fri Jan 10 15:12:06 UTC 2020


Hello,

I just filed a bug for Lucene [1] but I can't explain why there is a
difference between calling javadoc with several lint options:

javadoc ... -Xdoclint:all -Xdoclint:-missing -Xdoclint:-accessibility

versus aggregating them in one line:

javadoc ... -Xdoclint:all,-missing,-accessibility

It seems to me that the first version disables everything -- none of
the lint options are running (no errors are reported) while the second
version seems to work just fine.

Am I missing something?

Dawid

[1] https://issues.apache.org/jira/browse/LUCENE-9126


More information about the javadoc-dev mailing list