use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Fri, 29 Sep 2023 08:36:19 +0000 (09:36 +0100)
committerThomas Goirand <zigo@debian.org>
Fri, 29 Sep 2023 08:36:19 +0000 (09:36 +0100)
commit07c02b80648abbdef0d51fbeb996b68080ad1302
tree536781b027ddd82115a8efff4f8ee3dd8fbc7ec1
parent7651232f2a20c37be7bf1a65d4209b1d0bdd435f
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