[
https://issues.apache.org/jira/browse/HADOOP-11875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089497#comment-15089497
]
Akira AJISAKA commented on HADOOP-11875:
----------------------------------------
bq. Are you sure its java8 which forbids this -or merely warns about it?
Java8 merely warns about it.
Now trunk build is failing because of the following doc error.
{code}
[ERROR]
/Users/aajisaka/git/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java:1009:
error: exception not thrown: java.lang.Exception
[ERROR] * @throws Exception
[ERROR] ^
{code}
> [JDK8] Renaming _ as a one-character identifier to another identifier
> ---------------------------------------------------------------------
>
> Key: HADOOP-11875
> URL: https://issues.apache.org/jira/browse/HADOOP-11875
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Tsuyoshi Ozawa
> Labels: newbie
> Attachments: build_error_dump.txt
>
>
> From JDK8, _ as a one-character identifier is disallowed. Currently Web UI
> uses it. We should fix them to compile with JDK8.
> https://bugs.openjdk.java.net/browse/JDK-8061549
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)