You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/08/30 12:15:54 UTC

[jira] [Created] (HBASE-9391) Compilation problem in AccessController with JDK 6

Andrew Purtell created HBASE-9391:
-------------------------------------

             Summary: 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.95.2, 0.98.0
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell


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