hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15133) [JDK9] Ignore com.sun.javadoc.* and com.sun.tools.* in animal-sniffer-maven-plugin to compile with Java 9
Date Thu, 21 Dec 2017 00:03:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299292#comment-16299292
] 

Chris Douglas commented on HADOOP-15133:
----------------------------------------

+1 lgtm

I looked, but couldn't find a profile that included the unsafe APIs. Since these are more
likely to change, ignoring these packages is unfortunate but necessary.

> [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
>         Attachments: HADOOP-15133.001.patch
>
>
> 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message