On 11/23/2015 09:53 PM, Oliver Heger wrote: > The Maven build worked fine with Java 1.6 and 1.7 on Windows 10. With > Java 1.8 I get the following compilation error in test classes: > > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /c:/data/dev/projects/OpenSource/collections/commons-collections4-4.1-src/src/test/java/org/apache/commons/collections4/FluentIterableTest.java:[242,41] > reference to forEach is ambiguous > both method forEach(java.util.function.Consumer<? super T>) in > java.lang.Iterable and method > forEach(org.apache.commons.collections4.Closure<? super E>) in > org.apache.commons.collections4.FluentIterable match > [INFO] 1 error
Hi Oliver, thanks for the test. Actually, I did test it with JDK 1.8, but with an earlier version and the build/test worked fine. Using the latest JDK (1.8.0_65) showed the same error as you reported. Additionally, the eclipse compiler (included in release Luna 4.4.1) showed some more compile errors which are mostly related to tests that pass null as argument. I will fix them in trunk, but I agree that these are not critical for the release. > Artifacts and site look good. As the compilation error is only in a test > class, this is not blocking. > > +1 Thanks, Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org