use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Fri, 6 Feb 2026 19:24:31 +0000 (11:24 -0800)
committerChris Lamb <lamby@debian.org>
Fri, 6 Feb 2026 19:24:31 +0000 (11:24 -0800)
commitada661fd195946c84e77ac21515698dd74075f84
treea594e5bddc3981e7b1bdcf0f76c226b71cf4efdd
parent7d44146bb202249ef1fbd1c8cad772f3022c88c3
use --release 7 instead of -source/-target

Bug-Ubuntu: https://launchpad.net/bugs/1756854
Bug-Ubuntu: https://launchpad.net/bugs/1766998
Forwarded: no
Last-Update: 2018-04-24

Instead of -source/-target ceph should be build with --release for OpenJDK 9
or later so that the bootclasspath is also set, as per JEP-247, otherwise it
risks incurring into binary incompatibility when run with an earlier OpenJDK.
OpenJDK 11 minimum compatibility release has been updated to 7.
Last-Update: 2018-04-24
Gbp-Pq: Name update-java-source-target-flags.patch
src/java/CMakeLists.txt