use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Tue, 21 Jan 2020 20:21:17 +0000 (20:21 +0000)
committerBernd Zeimetz <bzed@debian.org>
Tue, 21 Jan 2020 20:21:17 +0000 (20:21 +0000)
commitab0f4fa6289c892d5d9b34686cb9e88af9b078f7
treebbefc86f7140ab926e8579aa00dcac7c02691a10
parent2b5508b5106e8cdf3707ca3f254fd8e7ef1d09f5
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