use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Mon, 30 Nov 2020 20:10:12 +0000 (20:10 +0000)
committerThomas Goirand <zigo@debian.org>
Mon, 30 Nov 2020 20:10:12 +0000 (20:10 +0000)
commit71610db1ebc314ba07ac7e5367fd133e3930361a
tree0f2cf3abb1d2e88d91041f868e1bdc940b2ec3fb
parent3ddb64fbe5d85896052d831c0da97d823bd78657
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