Bug#1011602: univocity-parsers: FTBFS with OpenJDK 17 due to ambiguous Record class
Emmanuel Bourg
ebourg at apache.org
Wed May 25 08:48:42 BST 2022
Source: univocity-parsers
Version: 2.8.3-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
univocity-parsers fails to build with OpenJDK 17 because it contains a Record class
that clashes with the new java.lang.Record class:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/Context.java:[136,9] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/ParsingContextWrapper.java:[94,16] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/ContextWrapper.java:[94,16] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[499,33] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[499,46] name clash: <T>processRecords(T[]) and processRecords(java.lang.Object[]) have the same erasure
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[516,33] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[516,46] cannot declare both <T>processRecord(T) and processRecord(java.lang.Object...) in com.univocity.parsers.common.AbstractWriter
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[618,69] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[688,61] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[759,33] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[1313,33] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[1313,48] cannot declare both <T>processRecordToString(T) and processRecordToString(java.lang.Object...) in com.univocity.parsers.common.AbstractWriter
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[1452,77] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[1504,33] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[1938,107] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
[ERROR] /<<PKGBUILDDIR>>/src/main/java/com/univocity/parsers/common/AbstractWriter.java:[1976,91] reference to Record is ambiguous
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
More information about the pkg-java-maintainers
mailing list