use --release 7 instead of -source/-target
authorTiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Thu, 26 Aug 2021 08:36:49 +0000 (09:36 +0100)
committerMattias Ellert <mattias.ellert@physics.uu.se>
Thu, 26 Aug 2021 08:36:49 +0000 (09:36 +0100)
commiteb9ec80984611c98bd16ad1dc8f17eb8499e6e42
tree7e84a9994a7b512bf85977606eebce2ba009a66b
parent4a50c67a7e72bf89be3d6c2137516f008f96c28a
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