use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Sun, 31 Jul 2022 19:59:55 +0000 (20:59 +0100)
committerThomas Goirand <zigo@debian.org>
Sun, 31 Jul 2022 19:59:55 +0000 (20:59 +0100)
commit568b78229871422bae052b4e967b7ae59cfc5573
tree383910fe142efbc45200de0e304d43b7b4e1be1d
parentabd951ee00bb65f8d29e7adba8de12cf132b8496
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