-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-16928. Make javadoc work on Java 17 #6976
Conversation
* <caption>Memory usage by blocksize</caption> | ||
* <colgroup> <col width="33%" > <col width="33%" > <col width="33%" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed/replaced all attribute
/tag
that were complained by the javadoc
and were removed in HTML5, this might slightly impact the final HTML style but I think it should be okay.
@pan3793 I will attempt to verify compatibility with JDK 17/JDK 11/JDK 8. If compatibility is confirmed, I will +1. The Hadoop-Yetus report indicates issues with blanks, checkstyle, and sputbug that need to be addressed. |
This comment was marked as outdated.
This comment was marked as outdated.
@@ -185,22 +185,22 @@ | |||
* </property> | |||
* </code></pre> | |||
* | |||
* <p>When <tt>conf.get("tempdir")</tt> is called, then <tt>${<i>basedir</i>}</tt> | |||
* <p>When <code>conf.get("tempdir")</code> is called, then <code>${<i>basedir</i>}</code> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's also the {@code } clause, but given search and replace is easier. your PR is better
To reviewers: part of this PR is separated to #6975, please take a look at that first. |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of OOM problems here, hopefully unrelated
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, thank you for supporting Java 17.
Contributed by Cheng Pan
Contributed by Cheng Pan
Description of PR
HADOOP-15902 added
-html4
options for javadoc on Java 11 and above, whilejavadoc -html4
option has been removed since Java 13 (https://bugs.openjdk.java.net/browse/JDK-8215578).To make the javadoc work on Java 17, I must remove the
-html4
and fix all errors for-html5
(this is default and is the only option for Java 17javadoc
)How was this patch tested?
macOS Java 17, aarch64
this works
this also works
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?