Bug#912515: libcommons-collections3-java FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Wed Oct 31 22:32:42 GMT 2018


Source: libcommons-collections3-java
Version: 3.2.2-1
Severity: serious
Tags: ftbfs buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libcommons-collections3-java.html

...
compile.tests:
    [mkdir] Created dir: /build/1st/libcommons-collections3-java-3.2.2/build/tests
    [javac] /build/1st/libcommons-collections3-java-3.2.2/build.xml:273: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 203 source files to /build/1st/libcommons-collections3-java-3.2.2/build/tests
    [javac] Using ant.build.javac.source 1.4 is no longer supported, switching to 6
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] warning: [options] source value 6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /build/1st/libcommons-collections3-java-3.2.2/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java:1119: error: reference to toArray is ambiguous
    [javac]             array = collection.toArray(null);
    [javac]                               ^
    [javac]   both method <T#1>toArray(T#1[]) in Collection and method <T#2>toArray(IntFunction<T#2[]>) in Collection match
    [javac]   where T#1,T#2 are type-variables:
    [javac]     T#1 extends Object declared in method <T#1>toArray(T#1[])
    [javac]     T#2 extends Object declared in method <T#2>toArray(IntFunction<T#2[]>)
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 3 warnings



More information about the pkg-java-maintainers mailing list