This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit b9bee4a1a502443c75b1e0de0055cf71b745817b Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Wed Nov 4 13:31:43 2026 +0000 Assert the javadoc footer on OpenJ9 too IBM Semeru 8 (8.0.504.5) writes -footer like HotSpot builds; the skips came from adopt-openj9 in 2023. --- .../org/apache/maven/plugins/javadoc/JavadocReportTest.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java index b165feea..55ba7a84 100644 --- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java +++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java @@ -394,8 +394,7 @@ class JavadocReportTest { assertTrue(str.toUpperCase(Locale.ENGLISH).contains("MAVEN JAVADOC PLUGIN TEST")); // footer - if (JavaVersion.JAVA_VERSION.isBefore("16-ea") - && !System.getProperty("java.vm.name").contains("OpenJ9")) { + if (JavaVersion.JAVA_VERSION.isBefore("16-ea")) { assertTrue(str.toUpperCase(Locale.ENGLISH).contains("MAVEN JAVADOC PLUGIN TEST FOOTER")); } @@ -832,10 +831,7 @@ class JavadocReportTest { assertThat(content) .contains("Top - Copyright © All rights reserved.") .contains("Header - Copyright © All rights reserved."); - // IBM dist of adopt-openj9 does not support the footer param - if (!System.getProperty("java.vm.name").contains("OpenJ9")) { - assertThat(content).contains("Footer - Copyright © All rights reserved."); - } + assertThat(content).contains("Footer - Copyright © All rights reserved."); Path packageSummary = apidocs.resolve("jdk6/test/package-summary.html"); assertThat(packageSummary).exists(); @@ -844,10 +840,7 @@ class JavadocReportTest { .contains("Top - Copyright © All rights reserved.") .contains("Header - Copyright © All rights reserved."); - // IBM dist of adopt-openj9 does not support the footer param - if (!System.getProperty("java.vm.name").contains("OpenJ9")) { - assertThat(content).contains("Footer - Copyright © All rights reserved."); - } + assertThat(content).contains("Footer - Copyright © All rights reserved."); } /**
