use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Mon, 10 Jan 2022 10:45:19 +0000 (10:45 +0000)
committerThomas Goirand <zigo@debian.org>
Mon, 10 Jan 2022 10:45:19 +0000 (10:45 +0000)
commit93989c8a56334080f0830986b93ef539abe2568c
tree61db3c7656c07586a43307888bb5cfdb24215381
parent11743e59b1524b298cc88624120e3a5c80e2ea52
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