suli1 / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Doesn't compile with java 6 #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Try to build with Java 6.

At a minimum, it might be good to document the version of Java required and 
specify it in the pom. Thanks.

What is the expected output? What do you see instead?

Env:

Apache Maven 3.0.4 (r1232337; 2012-01-17 01:44:56-0700)
Maven home: /usr/share/maven
Java version: 1.6.0_51, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"

You get this:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project espresso: Compilation failure: Compilation failure:
[ERROR] 
android-test-kit/espresso/lib/src/main/java/com/google/android/apps/common/testi
ng/ui/espresso/matcher/ViewMatchers.java:[433,29] type parameters of 
<E>org.hamcrest.Matcher<android.view.View> cannot be determined; no unique 
maximal instance exists for type variable E with upper bounds 
android.view.View,android.widget.Checkable
[ERROR]  
android-test-kit/espresso/lib/src/main/java/com/google/android/apps/common/testi
ng/ui/espresso/matcher/ViewMatchers.java:[441,29] type parameters of 
<E>org.hamcrest.Matcher<android.view.View> cannot be determined; no unique 
maximal instance exists for type variable E with upper bounds 
android.view.View,android.widget.Checkable

Original issue reported on code.google.com by YogurtE...@gmail.com on 6 Nov 2013 at 2:18

GoogleCodeExporter commented 9 years ago
This is a bug that exists in the java compiler. Please upgrade your tool chain

Original comment by thoma...@google.com on 6 Nov 2013 at 6:48