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 13:07:51 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-9391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-9391:
----------------------------------

    Attachment: 9391.patch

Attached a patch that creates a TreeMap using its constructor.
                
> 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
>         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