[
https://issues.apache.org/jira/browse/HBASE-9391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754732#comment-13754732
]
Nicolas Liochon commented on HBASE-9391:
----------------------------------------
It's not this (open jdk stuff)?:
http://code.google.com/p/guava-libraries/issues/detail?id=635
+1 anyway, the patch is ok.
> Compilation problem in AccessController with JDK 6
> --------------------------------------------------
>
> Key: HBASE-9391
> URL: https://issues.apache.org/jira/browse/HBASE-9391
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.0, 0.95.2
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Critical
> Attachments: 9391.patch
>
>
> Seeing this with a fresh checkout of trunk and 0.95, only with JDK 6:
> {noformat}
> [ERROR]
> hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[541,56]
> incompatible types; no instance(s) of type variable(s) K,V exist so that
> java.util.TreeMap<K,V> conforms to java.util.Map<byte[],java.util.Set<byte[]>>
> [ERROR] found : <K,V>java.util.TreeMap<K,V>
> [ERROR] required: java.util.Map<byte[],java.util.Set<byte[]>>
> [ERROR]
> hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1072,56]
> incompatible types; no instance(s) of type variable(s) K,V exist so that
> java.util.TreeMap<K,V> conforms to java.util.Map<byte[],java.util.Set<byte[]>>
> [ERROR] found : <K,V>java.util.TreeMap<K,V>
> [ERROR] required: java.util.Map<byte[],java.util.Set<byte[]>>
> [ERROR]
> hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1383,64]
> incompatible types; no instance(s) of type variable(s) K,V exist so that
> java.util.TreeMap<K,V> conforms to java.util.Map<byte[],java.util.Set<byte[]>>
> [ERROR] found : <K,V>java.util.TreeMap<K,V>
> [ERROR] required: java.util.Map<byte[],java.util.Set<byte[]>>
> [ERROR]
> hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1473,63]
> incompatible types; no instance(s) of type variable(s) K,V exist so that
> java.util.TreeMap<K,V> conforms to
> java.util.Map<byte[],java.util.Collection<byte[]>>
> [ERROR] found : <K,V>java.util.TreeMap<K,V>
> [ERROR] required: java.util.Map<byte[],java.util.Collection<byte[]>>
> {noformat}
--
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