Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't compile with java 6 #11

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment
Closed

Doesn't compile with java 6 #11

GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Collaborator

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
Copy link
Collaborator Author

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

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant