You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try and build master (using ant dist), I get:
build:
[mkdir] Created dir: d:\code\junit\d\junit\target\main
[javac] Compiling 164 source files to d:\code\junit\d\junit\target\main
[javac] d:\code\junit\d\junit\src\main\java\org\junit\matchers\JUnitMatchers.java:34: type parameters of <T>org.hamcrest.Matcher<java.lang.Iterable<? super T>> cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
[javac] return CoreMatchers.hasItem(elementMatcher);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
Also, when I remove this error, there are a lot of warnings when building the javadoc (can't find org.hamcrest.*).
This is on Windows jdk1.6.0_22, ant 1.8.1.
The text was updated successfully, but these errors were encountered:
When I try and build master (using ant dist), I get:
Also, when I remove this error, there are a lot of warnings when building the javadoc (can't find org.hamcrest.*).
This is on Windows jdk1.6.0_22, ant 1.8.1.
The text was updated successfully, but these errors were encountered: