opencensus-java: FTBFS with default Java 21

Bug #2053295 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opencensus-java (Debian)
Fix Released
Unknown
opencensus-java (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package opencensus-java ftbfs with default Java 21.
The relevant part of the build log:
---------------
All input files are considered out-of-date for incremental task ':opencensus-api:compileJava'.
Compiling with JDK Java compiler API.
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 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[#29,Daemon worker,5,main]) completed. Took 0.819 secs.

FAILURE: Build failed with an exception.
---------------

Related branches

Changed in opencensus-java (Debian):
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge (pass)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package opencensus-java - 0.24.0+ds-1ubuntu1

---------------
opencensus-java (0.24.0+ds-1ubuntu1) noble; urgency=medium

  [ Pushkar Kulkarni ]
  * d/rules, d/patches: Use java_compat_level to adjust -source/-target
    levels (LP: #2053295).

 -- Vladimir Petko <email address hidden> Fri, 16 Feb 2024 15:32:43 +1300

Changed in opencensus-java (Ubuntu):
status: New → Fix Released
Changed in opencensus-java (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.