use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)
committerThomas Goirand <zigo@debian.org>
Sun, 13 Dec 2020 15:33:57 +0000 (15:33 +0000)
commit4a1bc5cc101f69f8849846951ddf7f0b304d2b46
tree251f05447c9a7162a48cc8d91a804868d541c026
parent251bcd9af36652e32b0aa5ab73d5709c19a91ff4
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