RFR: 8152818: Javadoc must support module options supported by javac.
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon Apr 18 19:53:27 UTC 2016
On 04/18/2016 11:33 AM, Martin Buchholz wrote:
> 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).
Yes, I understand your intent, and agree it should be possible to do what
you want, in a reasonable way. We're still trying to figure out the best
way to address your goals.
I was simply noticing/reporting a bug in the tools that allowed you to
specify an
unreasonable combination of options.
-- Jon
More information about the javadoc-dev
mailing list