use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Tue, 28 Dec 2021 07:45:18 +0000 (07:45 +0000)
committerThomas Goirand <zigo@debian.org>
Tue, 28 Dec 2021 07:45:18 +0000 (07:45 +0000)
commita2130fed7cc72600dfaa5b687cab2b8af15b4816
treef9b74ad18cc265d1a768be4fd500f0c88592516f
parent65e6841b62210af45e3884c2f04c8c025785fad8
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