hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15304) [JDK10] Migrate from com.sun.tools.doclets to the replacement
Date Thu, 12 Apr 2018 08:39:00 GMT

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

Akira Ajisaka commented on HADOOP-15304:
----------------------------------------

Thanks [~tasanuma0829] for trying the patch!

I tried {{mvn javadoc:javadoc}} and failed due to MJAVADOC-517. We need to update the maven
javadoc plugin to 3.0.1 but the version is not released now. We can avoid this error by specifying
commons-lang3 version to the plugin dependency setting.

As [~tasanuma0829] pointed out, we need to exclude the package in maven-javadoc-plugin.

> [JDK10] Migrate from com.sun.tools.doclets to the replacement
> -------------------------------------------------------------
>
>                 Key: HADOOP-15304
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15304
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>         Attachments: HADOOP-15304.01.patch
>
>
> com.sun.tools.doclets.* packages were removed in Java 10. [https://bugs.openjdk.java.net/browse/JDK-8177511]
> This causes hadoop-annotations module to fail.
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project hadoop-annotations: Compilation failure: Compilation failure:
> [ERROR] /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/IncludePublicAnnotationsStandardDoclet.java:[61,20]
cannot find symbol
> [ERROR] symbol:   method validOptions(java.lang.String[][],com.sun.javadoc.DocErrorReporter)
> [ERROR] location: class com.sun.tools.doclets.standard.Standard
> [ERROR] /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/ExcludePrivateAnnotationsStandardDoclet.java:[56,20]
cannot find symbol
> [ERROR] symbol:   method validOptions(java.lang.String[][],com.sun.javadoc.DocErrorReporter)
> [ERROR] location: class com.sun.tools.doclets.standard.Standard
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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