Source: opencensus-java
Version: 0.24.0-1
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17
opencensus-java fails to build with OpenJDK 17 because javac is invoked with
the -Werror flag and the compiler now warns that the source/target level 7
will be removed in a future release.
Compiling with JDK Java compiler API.
warning: [options] source value 7 is obsolete and will be removed in a
future release
warning: [options] target value 7 is obsolete and will be removed in a
future release
warning: [options] To suppress warnings about obsolete options, use
-Xlint:-options.
error: warnings found and -Werror specified
:opencensus-api:compileJava FAILED
:opencensus-api:compileJava (Thread[Task worker for ':' Thread
4,5,main]) completed. Took 0.748 secs.
Bumping the source level to 8 and removing the -Werror flag would be a good
idea.
__
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.