use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Fri, 24 Apr 2020 20:43:18 +0000 (21:43 +0100)
committerBernd Zeimetz <bzed@debian.org>
Fri, 24 Apr 2020 20:43:18 +0000 (21:43 +0100)
commit43abc7df526711de4864ac9bbd281beae8f48b65
tree832e6b7c7f88659de47a8ba399ccb8f4b548699f
parent368b5b93129b23225bba20ba1be424625026a813
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