[
https://issues.apache.org/jira/browse/HADOOP-18576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685342#comment-17685342
]
ASF GitHub Bot commented on HADOOP-18576:
-----------------------------------------
snmvaughan opened a new pull request, #5362:
URL: https://github.com/apache/hadoop/pull/5362
### Description of PR
Add JavaDoc comments to package-info.java to avoid errors resulting from the
use of Hadoop annotations.
This is a backport from "HADOOP-18616. Java 11 JavaDoc fails due to missing
package comments", which has been relabelled as "HADOOP-18576. Java 11 JavaDoc
fails due to missing package comments".
### How was this patch tested?
Ran JavaDoc using Java 11 in the Hadoop development environment docker
image. There were no errors.
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> Java 11 JavaDoc fails due to missing package comments
> -----------------------------------------------------
>
> Key: HADOOP-18576
> URL: https://issues.apache.org/jira/browse/HADOOP-18576
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, common
> Affects Versions: 3.4.0
> Reporter: Steve Loughran
> Assignee: Steve Vaughan
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> yetus is failing javadoc builds with import issues on package-info.java files
> related to @InterfaceAudience/stability annotations
> We need to change how they are imported to fix this. Other modules have the
> same issue
> This is happening because java11 javadoc requires a doc comment for all
> packages with annotations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]