Repeated lint option parsing and difference in behavior

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jan 10 15:45:38 UTC 2020


Dawid,

Thanks for reporting this. If this is the case, it is a bug.
I'll investigate and file a bug if necessary.

-- Jon

On 1/10/20 7:12 AM, Dawid Weiss wrote:
> 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