I had other failures as well. It turned out I was using the JRE and not
the JDK so some commands were still OpenJDK instead of Sun6.
On 7/12/2012 12:38 PM, kiran777 wrote:
look at the patch..
https://github.com/CyanogenMod/android_external_guava/commit/c8b97210aa31c9b80b5fd136d8617ebe4e731e09
<https://github.com/CyanogenMod/android_external_guava/commit/c8b97210aa31c9b80b5fd136d8617ebe4e731e09>
On Tuesday, 10 July 2012 13:12:23 UTC+5:30, Sean McNeil wrote:
It looks like the new JB branch of external/guava does not compile
for
me with the sun java on Ubuntu 12.04. I get the following error:
external/guava/guava/src/com/google/common/collect/Maps.java:542:
incompatible types; no instance(s) of type variable(s) K,V exist
so that
java.util.TreeMap<K,V> conforms to java.util.SortedMap<K,V>
found : <K,V>java.util.TreeMap<K,V>
required: java.util.SortedMap<K,V>
SortedMap<K, V> onlyOnLeft = Maps.newTreeMap(comparator);
^
external/guava/guava/src/com/google/common/collect/Maps.java:543:
incompatible types; no instance(s) of type variable(s) K,V exist
so that
java.util.TreeMap<K,V> conforms to java.util.SortedMap<K,V>
found : <K,V>java.util.TreeMap<K,V>
required: java.util.SortedMap<K,V>
SortedMap<K, V> onlyOnRight = Maps.newTreeMap(comparator);
^
external/guava/guava/src/com/google/common/collect/Maps.java:545:
incompatible types; no instance(s) of type variable(s) K,V exist
so that
java.util.TreeMap<K,V> conforms to java.util.SortedMap<K,V>
found : <K,V>java.util.TreeMap<K,V>
required: java.util.SortedMap<K,V>
SortedMap<K, V> onBoth = Maps.newTreeMap(comparator);
^
external/guava/guava/src/com/google/common/collect/Maps.java:547:
incompatible types; no instance(s) of type variable(s) K,V exist
so that
java.util.TreeMap<K,V> conforms to
java.util.SortedMap<K,com.google.common.collect.MapDifference.ValueDifference<V>>
found : <K,V>java.util.TreeMap<K,V>
required:
java.util.SortedMap<K,com.google.common.collect.MapDifference.ValueDifference<V>>
Maps.newTreeMap(comparator);
^
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting