use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Thu, 22 Sep 2022 13:35:37 +0000 (14:35 +0100)
committerThomas Goirand <zigo@debian.org>
Thu, 22 Sep 2022 13:35:37 +0000 (14:35 +0100)
commitb8e4f6f47338fe30b62057761da5dcd098d06feb
treef7e3059fbf6eb22f0380a85c78832f9fb96422e0
parentaf1bfdae674db03f955c1954b5db476ea4454f99
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