javadoc -linksource with --module options doesn't generate src-html

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Nov 15 23:21:23 UTC 2017



On 10/03/2017 10:43 AM, Nicolas Carranza wrote:
> Hi, I'm beginning to play with the JDK 9 and found that running 
> javadoc using the -linksource option combined with --module option (as 
> below) creates the javadoc with links targeting the html source files 
> but doesn't create the html source files (src-html directory). Is this 
> a bug? Thank you, and sorry if this isn't the place to post this question.
>
> > javadoc -linksource -d javadoc --module-source-path . --module java.base
> > java -version
> java version "9"
> Java(TM) SE Runtime Environment (build 9+181)
> Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
>

Nicolas,

That definitely sounds like a bug/oversight. I'll investigate, and 
create an issue to track this.

-- Jon


More information about the javadoc-dev mailing list