Duplicate :
|
|
Relates :
|
|
Relates :
|
Imagine this scenario: Write a package-oriented library PL1 (i.e. no module-info.java) and use javadoc to generate documentation. The generated docs will (obviously) have no mention of any module. Write a second library PL2 that is also package-oriented and which references PL1 on the classpath, run javadoc and -linkoffine to the docs for PL1 All should be OK. Now write a third library ML3 that *is* a module, that references PL1 as an automatic module on the module path. javac will be quite happy, because PL1 will be treated as an automatic module, synthesizing a module name from the name of the jar file. But javadoc will have trouble, because if you link to the docs for PL1, javadoc will not see any module info, and will thus have problems. javadoc should be able to handle this case.
|