use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Tue, 26 Sep 2023 07:41:32 +0000 (08:41 +0100)
committerThomas Goirand <zigo@debian.org>
Tue, 26 Sep 2023 07:41:32 +0000 (08:41 +0100)
commitef30ca65a47e217ca62dff700913fc10d9ab26b1
treeb912296c62b09e22287efced3f68a1ee5dd5c62c
parent54b24fe8b5fb9e1e3eb3c24d6b055379563b3d49
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