use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Thu, 3 Dec 2020 20:03:06 +0000 (20:03 +0000)
committerThomas Goirand <zigo@debian.org>
Thu, 3 Dec 2020 20:03:06 +0000 (20:03 +0000)
commit08a56d3340b2d91d591027ca6ca3fb07940cbb54
treea092b4b81afe8dfc7793cdb7634a6034bc7867d2
parent9a20a82fde13fd8e7e7b6c59a831d7c76968274d
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