v3.0.x: java: Fix javadoc build failure with OpenJDK 11 #5877
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@ggouaillardet Please review.
Though this commit changes only a comment part, it is needed for release branches because Open MPI cannot be built with the following conditions (
javadocerror duringmake).configure --enable-mpi-java(not default)To release managers: I want to treat this as a bug of Java support in Open MPI. But if we won't support OpenJDK 11 and later versions in Open MPI v3.0.x series, this PR can be closed.
Need NEWS update?
OpenJDK 11 changed the default javadoc output HTML version to HTML 5 from HTML 4.01. It causes an error on building Open MPI configured with
--enable-mpi-java(default: disable). This fix is compatible with older OpenJDK.I don't know whether this problem exists with other vender's JDKs. But this fix should be compatible with other JDKs because the new syntax is used in other places in the same file.
Thanks to Siegmar Gross for the bug report.
(cherry picked from commit b491b45)