Skip to content

Commit

Permalink
8271485: Javadoc "Method Summary" table is misaligned if overridden J…
Browse files Browse the repository at this point in the history
…DK method has {@inheritdoc} tag

Do not generate javadocs for overridden methods with no spec change

Reviewed-by: aghaisas, arapte
  • Loading branch information
kevinrushforth committed Aug 10, 2021
1 parent 7575473 commit fbeb0bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4078,6 +4078,10 @@ task javadoc(type: Javadoc, dependsOn: createMSPfile) {
options.addBooleanOption("javafx").setValue(true);
options.addBooleanOption("use").setValue(true);

// Suppress generating overridden methods with no additional documentation
// The leading '-' is necessary, since this option starts with '--' and gradle adds '-' when passing an option to javadoc
options.addBooleanOption("-override-methods=summary").setValue(true);

options.setOptionFiles([
new File(rootProject.buildDir,MODULESOURCEPATH)
]);
Expand Down

0 comments on commit fbeb0bb

Please sign in to comment.