[
https://issues.apache.org/jira/browse/HADOOP-15133?focusedWorklogId=757244&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-757244
]
ASF GitHub Bot logged work on HADOOP-15133:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 14/Apr/22 22:39
Start Date: 14/Apr/22 22:39
Worklog Time Spent: 10m
Work Description: mccormickt12 opened a new pull request, #4173:
URL: https://github.com/apache/hadoop/pull/4173
…animal-sniffer-maven-plugin to compile with Java 9.
(cherry picked from commit d2d8f4aeb3e214d1a96eeaf96bbe1e9301824ccd)
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
### How was this patch tested?
### For code changes:
- [ ] 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?
Issue Time Tracking
-------------------
Worklog Id: (was: 757244)
Remaining Estimate: 0h
Time Spent: 10m
> [JDK9] Ignore com.sun.javadoc.* and com.sun.tools.* in
> animal-sniffer-maven-plugin to compile with Java 9
> ---------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-15133
> URL: https://issues.apache.org/jira/browse/HADOOP-15133
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Priority: Major
> Fix For: 3.1.0
>
> Attachments: HADOOP-15133.001.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> com.sun.javadoc and com.sun.tools are internal APIs and are not included in
> java18 profile, so signature check fails with JDK9.
> {noformat}
> $ mvn clean install -DskipTests -DskipShade
> (snip)
> [INFO] --- animal-sniffer-maven-plugin:1.16:check (signature-check) @
> hadoop-annotations ---
> [INFO] Checking unresolved references to
> org.codehaus.mojo.signature:java18:1.0
> [ERROR]
> /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/RootDocProcessor.java:56:
> Undefined reference: com.sun.javadoc.RootDoc
> (snip)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]