8190875: modules not listed in overview/index page

Reviewed-by: jjg, sundar
This commit is contained in:
Priya Lakshmi Muthuswamy 2018-06-06 09:07:38 +05:30
parent 19c13c2026
commit e62ea558be
3 changed files with 201 additions and 17 deletions

View file

@ -452,8 +452,12 @@ public class HtmlConfiguration extends BaseConfiguration {
* packages is more than one. Sets {@link #createoverview} field to true.
*/
protected void setCreateOverview() {
if ((overviewpath != null || packages.size() > 1) && !nooverview) {
createoverview = true;
if (!nooverview) {
if (overviewpath != null
|| modules.size() > 1
|| (modules.isEmpty() && packages.size() > 1)) {
createoverview = true;
}
}
}