OpenJDK Runtime Environment 11
Go to file
Stephan Bergmann 57e78ff50f Fix flatpak builds
...after 19065a8b01 "Temporarily move x86 to use
Zero in order to get a working build":

When building the

>       if ${run_bootstrap} ; then

branch for suffix='' and loop='-main', the second

>           buildjdk ${builddir} $(pwd)/${bootinstalldir}/images/%{jdkimage} "${maketargets}" ${debugbuild} ${link_opt}

uses the JDK (`$(pwd)/${bootinstalldir}/images/%{jdkimage}`) from the installjdk
on the previous line.  But installjdk does

> 	rm ${imagepath}/lib/tzdb.dat
> 	ln -s %{_datadir}/javazi-1.8/tzdb.dat ${imagepath}/lib/tzdb.dat

which made that JDK's tzdb.dat link to /app/share/javazi-1.8/tzdb.dat in a
flatpak build (rather than the usual /usr/share/javazi-1.8/tzdb.dat in a non-
flatpak build) which is not present at build-time (but will be present at
runtime in at least the LibreOffice flatpak, which bundles tzdata-java built for
the flatpak /app prefix).  So using that JDK's compiler during the build kept
failing due to java.io.FileNotFoundException for its lib/tzdb.dat.

(This was not an issue prior to 19065a8b01, as
installjdk's modification of lib/tzdb.dat used to be done only for the "Final
setup on the main image" at the very end of the build, not during the build for
JDKs that are themselves used later during the build.)

The easiest workaround for this issue appears to be to just not bootstrap_build
in the flatpak case, avoiding the situation that a JDK whose lib/tzdb.dat has
been modified through installjdk is used during the build.

Resolves: rhbz#2067189
2022-06-30 02:28:51 +01:00
tests Introduce tests/tests.yml, based on the one in RHEL 8 2022-02-27 03:08:07 +00:00
.gitignore Update to jdk-11.0.15.0+10 2022-04-24 21:42:02 +01:00
CheckVendor.java Merged update from upstream sources 2021-01-25 02:38:01 +00:00
gating.yaml Add gating.yaml from RHEL 2021-06-02 12:59:08 +02:00
generate_source_tarball.sh Update to jdk-11.0.13.0+8 2021-11-07 02:38:02 +00:00
icedtea_sync.sh Update to jdk-11.0.11.0+9 2021-07-06 03:42:00 +01:00
java-11-openjdk.spec Fix flatpak builds 2022-06-30 02:28:51 +01:00
jconsole.desktop.in RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
jdk8257794-remove_broken_assert.patch Refactor build functions so we can build just HotSpot without any attempt at installation. 2022-02-11 16:00:03 +00:00
jdk8275535-rh2053256-ldap_auth.patch Add JDK-8275535 patch to fix LDAP authentication issue. 2022-02-23 04:03:20 +00:00
NEWS Update to jdk-11.0.15.0+10 2022-04-24 21:42:02 +01:00
nss.cfg.in RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
nss.fips.cfg.in Use 'sql:' prefix in nss.fips.cfg 2021-12-02 02:39:26 +00:00
pr3694-rh1340845-support_fedora_rhel_system_crypto_policy.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
pr3695-toggle_system_crypto_policy.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
README.md RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
remove-intree-libraries.sh Update to jdk-11.0.11.0+9 2021-07-06 03:42:00 +01:00
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
rh1648644-java_access_bridge_privileged_security.patch RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
rh1655466-global_crypto_and_fips.patch Support the FIPS mode crypto policy (RH1655466) 2021-07-06 19:00:18 +01:00
rh1750419-redhat_alt_java.patch Merged update from upstream sources 2020-12-18 19:56:48 +00:00
rh1818909-fips_default_keystore_type.patch Support the FIPS mode crypto policy (RH1655466) 2021-07-06 19:00:18 +01:00
rh1842572-rsa_default_for_keytool.patch Merged update from upstream sources 2021-01-24 10:43:32 +00:00
rh1860986-disable_tlsv1.3_in_fips_mode.patch Support the FIPS mode crypto policy (RH1655466) 2021-07-06 19:00:18 +01:00
rh1915071-always_initialise_configurator_access.patch Support the FIPS mode crypto policy (RH1655466) 2021-07-06 19:00:18 +01:00
rh1929465-improve_system_FIPS_detection.patch Detect FIPS using SECMOD_GetSystemFIPSEnabled in the new libsystemconf JDK library. 2021-07-20 18:07:12 +01:00
rh1991003-enable_fips_keys_import.patch Add FIPS patch to allow plain key import 2021-10-10 22:59:12 +01:00
rh1996182-login_to_nss_software_token.patch Update to jdk-11.0.15.0+8 2022-04-12 18:10:43 +01:00
rh2021263-fips_ensure_security_initialised.patch Fix FIPS issues in native code and with initialisation of java.security.Security 2022-02-16 00:15:34 +00:00
rh2021263-fips_missing_native_returns.patch Fix FIPS issues in native code and with initialisation of java.security.Security 2022-02-16 00:15:34 +00:00
rh2021263-fips_separate_policy_and_fips_init.patch Separate crypto policy initialisation from FIPS initialisation, now they are no longer interdependent 2022-02-17 19:43:01 +00:00
rh2052829-fips_runtime_nss_detection.patch Detect NSS at runtime for FIPS detection 2022-02-28 05:47:18 +00:00
sources Update to jdk-11.0.15.0+10 2022-04-24 21:42:02 +01:00
TestCryptoLevel.java RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
TestECDSA.java RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
TestSecurityProperties.java RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00
update_package.sh RHEL 9.0.0 Alpha bootstrap 2020-10-15 14:00:52 +02:00

Package of LTS OpenJDK 11 OpenJDK have release cadence of 6 months. but 3/4 of them are Short Term Supported for 6 months only. This package is designed to harbore them. Currently it is build on openJDK 11. LTSs (next is 15) will go as separate packages.

JDK11 is last LTS release of Java platform. It is bringing many cool improvements - http://openjdk.java.net/projects/jdk/11/ and is landing to your Fedora. Where it will be maintained for several years. You will always be allowed to install Used LTSs in build root, and alongside via alternatives.

See announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf

https://fedoraproject.org/wiki/Changes/java-11-openjdk-TechPreview