RFR: 8152818: Javadoc must support module options supported by javac.

Martin Buchholz martinrb at google.com
Mon Apr 18 18:33:24 UTC 2016


On Mon, Apr 18, 2016 at 11:11 AM, Jonathan Gibbons
<jonathan.gibbons at oracle.com> wrote:
>
>
> On 04/16/2016 03:45 PM, Martin Buchholz wrote:
>>
>> exec $JDK/bin/javadoc \
>>    -d docs \
>>    -Xdoclint:all \
>>    -Xmodule:java.base \
>>    -modulesourcepath "$JDKSRC/jdk/src/java.base/share/classes" \
>
>
> javadoc folk,
>
> This looks like a bug.  Assuming Martin is using reasonably up to date JDK 9
> code, you should not be able to specify both -Xmodule and -modulesourcepath.

What I'm trying to tell javadoc is that I have some source files that
are logically in the java.base module, and they override (and inherit
from) the full module sources (including module-info.java) that are
somewhere else (in a jdk9 source tree).


More information about the javadoc-dev mailing list