Bug#1052695: super-csv: FTBFS with OpenJDK 21 due to type inference changes
Emmanuel Bourg
ebourg at apache.org
Tue Sep 26 09:02:36 BST 2023
Source: super-csv
Version: 2.4.0-3
Severity: important
Tags: ftbfs sid trixie
User: debian-java at lists.debian.org
Usertags: default-java21
super-csv fails to build with OpenJDK 21, probably due to type inference
changes when using source/target level 8:
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ super-csv ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 80 source files to /<<PKGBUILDDIR>>/super-csv/target/test-classes
Use of target 1.5 is no longer supported, switching to 8
Use of source 1.5 is no longer supported, switching to 8
[INFO] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/mock/ResultSetMock.java: Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/mock/ResultSetMock.java: Recompile with -Xlint:deprecation for details.
[INFO] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/util/CsvContextTest.java: /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/util/CsvContextTest.java uses or overrides a deprecated API that is marked for removal.
[INFO] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/util/CsvContextTest.java: Recompile with -Xlint:removal for details.
[INFO] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/example/ParseDay.java: Some input files use unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/example/ParseDay.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[57,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[58,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[78,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[79,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[88,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[89,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/constraint/LMinMaxTest.java:[98,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/ParseIntTest.java:[58,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/ParseIntTest.java:[59,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/ParseIntTest.java:[62,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/ParseIntTest.java:[63,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
[ERROR] /<<PKGBUILDDIR>>/super-csv/src/test/java/org/supercsv/cellprocessor/ParseIntTest.java:[72,17] reference to assertEquals is ambiguous
both method assertEquals(long,long) in org.junit.Assert and method assertEquals(java.lang.Object,java.lang.Object) in org.junit.Assert match
More information about the pkg-java-maintainers
mailing list