tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-4025) javadoc compilation is broken in jdk11
Date Mon, 07 Jan 2019 18:59:00 GMT

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

Jonathan Eagles commented on TEZ-4025:
--------------------------------------

[~kshukla], could you review this patch to fix jdk 11 compilation?

> javadoc compilation is broken in jdk11
> --------------------------------------
>
>                 Key: TEZ-4025
>                 URL: https://issues.apache.org/jira/browse/TEZ-4025
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>            Priority: Major
>         Attachments: TEZ-4025.001.patch, TEZ-4025.002.patch
>
>
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc
(default-cli) on project tez-mapreduce: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /Users/jeagles/hadoop/tez/tez-mapreduce/src/main/java/org/apache/tez/mapreduce/hadoop/DeprecatedKeys.java:175:
error: as of release 9, '_' is a keyword, and may not be used as an identifier
> [ERROR]   private static void _(String mrKey, String tezKey) {
> [ERROR]                       ^
> [ERROR]
> [ERROR] Command line was: /Library/Java/JavaVirtualMachines/openjdk-11.0.1.jdk/Contents/Home/bin/javadoc
@options @packages
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in '/Users/jeagles/hadoop/tez/tez-mapreduce/target/site/apidocs'
dir.
> {code}
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc
(default-cli) on project tez-javadoc-tools: An error has occurred in JavaDocs report generation:
> [ERROR] Exit code: 1 - /Users/jeagles/hadoop/tez/tez-tools/tez-javadoc-tools/src/main/java/org/apache/tez/tools/javadoc/doclet/ConfigStandardDoclet.java:36:
warning: [removal] AnnotationDesc in com.sun.javadoc has been deprecated and marked for removal
> [ERROR] import com.sun.javadoc.AnnotationDesc.ElementValuePair;
> [ERROR]                       ^
> [ERROR] /Users/jeagles/hadoop/tez/tez-tools/tez-javadoc-tools/src/main/java/org/apache/tez/tools/javadoc/doclet/ConfigStandardDoclet.java:42:
error: package com.sun.tools.doclets.standard is not visible
> [ERROR] import com.sun.tools.doclets.standard.Standard;
> [ERROR]                             ^
> [ERROR]   (package com.sun.tools.doclets.standard is declared in module jdk.javadoc,
which does not export it)
> [ERROR]
> [ERROR] Command line was: /Library/Java/JavaVirtualMachines/openjdk-11.0.1.jdk/Contents/Home/bin/javadoc
@options @packages
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in '/Users/jeagles/hadoop/tez/tez-tools/tez-javadoc-tools/target/site/apidocs'
dir.
> {code}



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

Mime
View raw message