Bug#981830: junit4: FTBFS with OpenJDK 17 due to javadoc errors
Emmanuel Bourg
ebourg at apache.org
Thu Feb 4 11:40:24 GMT 2021
Package: junit4
Version: 4.13.1-1
Severity: important
Tags: sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
junit4 fails to build with OpenJDK 17 because the javadoc contains errors.
The pom.xml defines its own -Xdoclint settings and prevents maven-javadoc-plugin
from disabling the linter.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/junit/runners/Parameterized.java:[125,3] error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/junit/Test.java:[31,3] error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/junit/ClassRule.java:[34,3] error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/junit/rules/ExpectedException.java:[19,3] error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/junit/Rule.java:[26,3] error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
[INFO] 5 errors
More information about the pkg-java-maintainers
mailing list