Bug#1011618: mongo-java-driver: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Wed May 25 13:07:22 BST 2022
Source: mongo-java-driver
Version: 3.6.3-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
mongo-java-driver fails to build with OpenJDK 17 because it invokes javac
with the source/target options set to 6. Since OpenJDK 12 the minimum
version supported is 7.
Compiling with JDK Java compiler API.
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
Started Gradle worker daemon (0.454 secs) with fork options DaemonForkOptions{executable=/usr/lib/jvm/java-17-openjdk-amd64/bin/java, minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[], keepAliveM>
This JVM does not support getting OS memory, so no OS memory status updates will be broadcast
Initialized native services in: /<<PKGBUILDDIR>>/.gradle/native
Compiling with JDK Java compiler API.
:bson:compileJava FAILED
:bson:compileJava (Thread[Task worker for ':' Thread 3,5,main]) completed. Took 1.532 secs.
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
:mongo-java-driver:compileJava FAILED
More information about the pkg-java-maintainers
mailing list