Hello,

Javadoc for "exclude" states that [1]:

"Unconditionally, excludes the specified packages and their
subpackages from the list formed by -subpackages."

I find this statement untrue. Given a package structure "a.b.c" and
javadoc options:

-sourcepath src
-subpackages a
-exclude a.b

the resulting javadoc is created for classes in 'a' and 'a.b.c':

https://github.com/dweiss/javadoc-exclude/blob/master/javadoc/element-list

Full repro is on github [2].

Am I missing something? Is the spec wrong or is this a bug?

Dawid

[1] https://docs.oracle.com/en/java/javase/12/tools/javadoc.html
[2] https://github.com/dweiss/javadoc-exclude

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to