OpenJDK Runtime Environment 11
Go to file
Stephan Bergmann 1ac4052b44 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.
2022-04-08 03:54:57 +01:00
.gitignore Update to jdk-11.0.14.1+1 2022-02-11 14:05:11 +00:00
CheckVendor.java Include a test in the RPM to check the build has the correct vendor information. 2021-01-24 18:17:53 +00:00
generate_source_tarball.sh Update to jdk-11.0.13.0+1 2021-10-12 00:18:06 +01:00
icedtea_sync.sh Update tapsets from IcedTea 6.x repository with fix for JDK-8015774 changes (_heap->_heaps) 2021-03-29 17:05:58 +01:00
java-11-openjdk.spec Fix flatpak builds 2022-04-08 03:54:57 +01:00
jconsole.desktop.in Sync SystemTap & desktop files with upstream IcedTea release 3.15.0 using new script 2020-04-07 16:12:53 +01:00
jdk8257794-remove_broken_assert.patch Temporarily move x86 to use Zero in order to get a working build 2022-02-04 17:14:21 +00:00
jdk8282004-x86_32-missing_call_effects.patch Reinstate JIT builds on x86_32. 2022-02-16 21:38:12 +00:00
NEWS Update to jdk-11.0.14.1+1 2022-02-11 14:05:11 +00:00
nss.cfg.in Initial import (#1594313) 2018-07-16 16:28:57 +02:00
nss.fips.cfg.in Use 'sql:' prefix in nss.fips.cfg 2021-11-05 14:42:59 +01:00
pr3694-rh1340845-support_fedora_rhel_system_crypto_policy.patch Add PR3695 to allow the system crypto policy to be turned off. 2019-02-07 05:11:37 +00:00
pr3695-toggle_system_crypto_policy.patch Add PR3695 to allow the system crypto policy to be turned off. 2019-02-07 05:11:37 +00:00
README.md added link to fedora features^C 2018-08-23 18:33:19 +02:00
remove-intree-libraries.sh Perform static library build on a separate source tree with bundled image libraries 2021-02-17 18:10:13 +00:00
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch renamed all patches to new convention 2018-11-20 11:06:12 +01:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch renamed all patches to new convention 2018-11-20 11:06:12 +01:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch renamed all patches to new convention 2018-11-20 11:06:12 +01:00
rh1648644-java_access_bridge_privileged_security.patch renamed all patches to new convention 2018-11-20 11:06:12 +01:00
rh1655466-global_crypto_and_fips.patch Support the FIPS mode crypto policy (RH1655466) 2021-06-02 17:54:48 +01:00
rh1750419-redhat_alt_java.patch Added checks and restrictions around alt-java 2020-12-18 15:25:39 +01:00
rh1818909-fips_default_keystore_type.patch Support the FIPS mode crypto policy (RH1655466) 2021-06-02 17:54:48 +01:00
rh1842572-rsa_default_for_keytool.patch Use RSA as default for keytool, as DSA is disabled in all crypto policies except LEGACY 2021-01-24 03:24:41 +00:00
rh1860986-disable_tlsv1.3_in_fips_mode.patch Support the FIPS mode crypto policy (RH1655466) 2021-06-02 17:54:48 +01:00
rh1915071-always_initialise_configurator_access.patch Support the FIPS mode crypto policy (RH1655466) 2021-06-02 17:54:48 +01:00
rh1929465-improve_system_FIPS_detection.patch Detect FIPS using SECMOD_GetSystemFIPSEnabled in the new libsystemconf JDK library. 2021-06-09 03:07:29 +01:00
rh1991003-enable_fips_keys_import.patch Add patch to allow plain key import 2021-10-09 22:53:28 +01:00
rh1996182-login_to_nss_software_token.patch Update to jdk-11.0.14.0+1 2021-12-13 05:18:54 +00:00
rh2021263-fips_ensure_security_initialised.patch Fix FIPS issues in native code and with initialisation of java.security.Security 2022-01-18 02:21:22 +00:00
rh2021263-fips_missing_native_returns.patch Fix FIPS issues in native code and with initialisation of java.security.Security 2022-01-18 02:21:22 +00:00
rh2021263-fips_separate_policy_and_fips_init.patch Separate crypto policy initialisation from FIPS initialisation, now they are no longer interdependent 2022-01-24 19:03:43 +00:00
sources Update to jdk-11.0.14.1+1 2022-02-11 14:05:11 +00:00
TestCryptoLevel.java Initial import (#1594313) 2018-07-16 16:28:57 +02:00
TestECDSA.java Initial import (#1594313) 2018-07-16 16:28:57 +02:00
TestSecurityProperties.java Add a test verifying system crypto policies can be disabled 2019-02-14 10:32:25 +01:00
update_package.sh Sync SystemTap & desktop files with upstream IcedTea release 3.15.0 using new script 2020-04-07 16:12:53 +01: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