use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Sun, 8 Mar 2020 21:31:55 +0000 (21:31 +0000)
committerBernd Zeimetz <bzed@debian.org>
Sun, 8 Mar 2020 21:31:55 +0000 (21:31 +0000)
commitbc7c467af0d91770c49f1a597231d85b26ff2d73
tree7b74d879a3e75696f72da37922548648ca88a3e0
parent865f472e59fb584e85701a32305941131373a03b
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