On Mon, Apr 18, 2016 at 11:11 AM, Jonathan Gibbons <jonathan.gibb...@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).