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-15287) JDK9 JavaDoc build fails due to one-character underscore identifiers in hadoop-yarn-common
Date Tue, 06 Mar 2018 01:12:00 GMT

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

Akira Ajisaka commented on HADOOP-15287:
----------------------------------------

+1 pending Jenkins. Thanks Takanobu.

> JDK9 JavaDoc build fails due to one-character underscore identifiers in hadoop-yarn-common
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15287
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15287
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: documentation
>         Environment: Java 9.0.4, Applied HADOOP-12760 and HDFS-11610
>            Reporter: Takanobu Asanuma
>            Assignee: Takanobu Asanuma
>            Priority: Major
>         Attachments: HADOOP-15287.1.patch, HADOOP-15287.2.patch
>
>
> {{mvn --projects hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common javadoc:javadoc}}
fails.
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:javadoc
(default-cli) on project hadoop-yarn-common: An error has occurred in Javadoc report generation:
> [ERROR] Exit code: 1 - ./hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/Hamlet.java:50:
error: as of release 9, '_' is a keyword, and may not be used as an identifier
> [ERROR]   public class HTML<T extends _> extends EImp<T> implements HamletSpec.HTML
{
> [ERROR]                               ^
> [ERROR] ./hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/Hamlet.java:92:
error: as of release 9, '_' is a keyword, and may not be used as an identifier
> [ERROR]       return base().$href(href)._();
> [ERROR]                                 ^
> ...
> {noformat}
> FYI: https://bugs.openjdk.java.net/browse/JDK-8061549



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