Source: mongo-java-driver
Version: 3.6.3-2
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
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
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.