hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takanobu Asanuma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15304) [JDK10] Migrate from com.sun.tools.doclets to the replacement
Date Tue, 18 Sep 2018 07:33:00 GMT

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

Takanobu Asanuma commented on HADOOP-15304:
-------------------------------------------

The latest patch looks good to me. I've also confirmed that the below commands succeeds with
it on JDK 10.

{noformat}
$ mvn clean install -DskipTests
$ mvn javadoc:javadoc --projects hadoop-common-project/hadoop-annotations
{noformat}

+1.

> [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
>          Components: build
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>         Attachments: HADOOP-15304.01.patch, HADOOP-15304.02.patch, HADOOP-15304.03.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