use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Fri, 15 Jul 2022 09:31:04 +0000 (10:31 +0100)
committerThomas Goirand <zigo@debian.org>
Fri, 15 Jul 2022 09:31:04 +0000 (10:31 +0100)
commit6564223bbe90d83f10dbd50ba0f12a3d5240c88c
tree444ee469ab8da94d86dbc914c064913a7446c832
parent7db44e26224e547f96956e4ecde9ee43ef00f5d3
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