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] [Created] (HADOOP-15287) JDK9 JavaDoc build fails due to one-character underscore identifiers in hadoop-yarn-common
Date Mon, 05 Mar 2018 07:55:00 GMT
Takanobu Asanuma created HADOOP-15287:
-----------------------------------------

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


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