[
https://issues.apache.org/jira/browse/HADOOP-10006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780820#comment-13780820
]
Steve Loughran commented on HADOOP-10006:
-----------------------------------------
This appears to be a type inference quirk that can arise in some javacs and
eclipse; it isn't in openjdk7 or java 1.6.0_51, or -clearly- whatever jenkins
is using. This patch doesn't break any of those, and as it fixes Jun's build:
+1 -after I fix the findbugs
> Compilation failure in trunk for o.a.h.fs.swift.util.JSONUtil
> -------------------------------------------------------------
>
> Key: HADOOP-10006
> URL: https://issues.apache.org/jira/browse/HADOOP-10006
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs, util
> Reporter: Junping Du
> Assignee: Steve Loughran
> Priority: Blocker
> Attachments: HADOOP-10006.patch
>
>
> The error is like following:
> ...
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project hadoop-openstack: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/jdu/bdc/hadoop-trunk/hadoop-common/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/util/JSONUtil.java:[97,33]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
> [ERROR]
> /home/jdu/bdc/hadoop-trunk/hadoop-common/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/util/JSONUtil.java:[115,33]
> type parameters of <T>T cannot be determined; no unique maximal instance
> exists for type variable T with upper bounds T,java.lang.Object
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira