Bug#1012101: openjpa: FTBFS with OpenJDK 17 due to type inference changes
Emmanuel Bourg
ebourg at apache.org
Mon May 30 09:24:10 BST 2022
Source: openjpa
Version: 2.4.2-7
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
openjpa fails to build with OpenJDK 17:
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openjpa-persistence ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 234 source files to /<<PKGBUILDDIR>>/openjpa-persistence/target/classes
[INFO] /<<PKGBUILDDIR>>/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/OpenJPAEntityManagerFactorySPI.java: Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/OpenJPAEntityManagerFactorySPI.java: Recompile with -Xlint:deprecation for details.
[INFO] /<<PKGBUILDDIR>>/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Members.java: Some input files use unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/meta/Members.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/SubqueryImpl.java:[213,35] incompatible types: java.util.Set<java.lang.Object> cannot be converted to java.u
til.Set<javax.persistence.criteria.Join<?,?>>
[INFO] 1 error
[INFO] -------------------------------------------------------------
More information about the pkg-java-maintainers
mailing list