I would appreciate your advice about how to generate module-aware documentation for internal packages which have not been exported by the corresponding module info.

Given the attached project, the following command works fine...

javadoc -d ./build/javadoc \

  -Xdoclint:none \

  --module-source-path ./java \

  --module org.test.mymodule \

  visiblepackage


However, the following command...

javadoc -d ./build/javadoc \

  -Xdoclint:none \

  --module-source-path ./java \

  --module org.test.mymodule \

  visiblepackage invisiblepackage


...dies with the following diagnostic messages:

Loading source files for package visiblepackage...

Loading source files for package invisiblepackage...

javadoc: error - No source files for package invisiblepackage

1 error


Thanks,
-Rick

Attachment: zdoc.tar
Description: Unix tar archive

Reply via email to