Bug#1011158: mockito: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Tue May 17 18:37:00 BST 2022
Source: mockito
Version: 2.23.0-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
mockito 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.
:compileJava FAILED
:compileJava (Thread[Task worker for ':' Thread 5,5,main]) completed. Took 1.067 secs.
More information about the pkg-java-maintainers
mailing list