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

Li Lu commented on HADOOP-11377:
--------------------------------

I did some investigation and I think I know the direct cause of the {{javadoc: 
error - Illegal package name: ""}} now. It looks like the jdiff.compatibility 
is set to empty at the very beginning of hadoop-project-dist/pom.xml, which may 
cause ant to pass that empyt line as "". Javadoc may understand that as a 
package name. After I comment that line out the error disappeared. 

> jdiff failing on java 7 and java 8, "Null.java" not found
> ---------------------------------------------------------
>
>                 Key: HADOOP-11377
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11377
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Java8 jenkins
>            Reporter: Steve Loughran
>            Assignee: Tsuyoshi Ozawa
>         Attachments: HADOOP-11377.001.patch
>
>
> Jdiff is having problems on Java 8, as it cannot find a javadoc for the new 
> {{Null}} datatype
> {code}
> '<https://builds.apache.org/job/Hadoop-common-trunk-Java8/ws/hadoop-common-project/hadoop-common/dev-support/jdiff/Null.java'>
> The ' characters around the executable and arguments are
> not part of the command.
>   [javadoc] javadoc: error - Illegal package name: ""
>   [javadoc] javadoc: error - File not found: 
> "<https://builds.apache.org/job/Hadoop-common-trunk-Java8/ws/hadoop-common-project/hadoop-common/dev-support/jdiff/Null.java";>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to