Skip to content

Resolve Java 21 ftbfs

Vladimir Petko requested to merge vpa1977/bnd:master into master

This merge request resolves 1057492.

The package fails to build with release level 21 due to the API changes. This MR uses minimum supported release level(8) instead.

Note: I could not use java_compat_level as the sources require at least 8 to compile.

Changes:

  • update d/bootstrap.xml to set javac task release level
  • pass release level to ant task

Testing:

  • rebuild in sid chroot
  • rebuild in sid chroot with default Java 21
Edited by Vladimir Petko

Merge request reports

Loading