Go to file
Stephan Bergmann 7d90e62473 Fix flatpak builds
...after 19065a8b01585a1aa5f22e38e99fc0c47c597074 "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 19065a8b01585a1aa5f22e38e99fc0c47c597074, 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-07-07 20:37:19 +01:00
.gitignore updated to CPU jdk-18.0.1+10 sources 2022-04-28 11:59:03 +02:00
fips-18u-60131cc7271.patch Update FIPS support to bring in latest changes 2022-06-24 17:41:21 +01:00
generate_source_tarball.sh updated to CPU jdk-18.0.1+10 sources 2022-04-28 11:59:03 +02:00
icedtea_sync.sh Sync desktop files with upstream IcedTea release 3.15.0 using new script 2021-11-01 13:46:13 +00:00
java-latest-openjdk.spec Fix flatpak builds 2022-07-07 20:37:19 +01:00
jconsole.desktop.in Sync desktop files with upstream IcedTea release 3.15.0 using new script 2021-11-01 13:46:13 +00:00
jdk8282004-x86_32-missing_call_effects.patch Reinstate JIT builds on x86_32. 2022-02-17 01:57:58 +00:00
NEWS January 2022 security update to jdk 17.0.2+8 2022-01-24 14:30:58 +00:00
nss.cfg.in
nss.fips.cfg.in RH2007331: SecretKey generate/import operations don't add the CKA_SIGN attribute in FIPS mode 2022-07-01 02:05:02 +01:00
README.md
remove-intree-libraries.sh
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch Update FIPS support to bring in latest changes 2022-06-24 17:41:21 +01:00
rh1648644-java_access_bridge_privileged_security.patch
rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch Update to RC version of OpenJDK 18 2022-03-16 05:20:49 +00:00
rh1750419-redhat_alt_java.patch
sources updated to CPU jdk-18.0.1+10 sources 2022-04-28 11:59:03 +02:00
TestCryptoLevel.java
TestECDSA.java
TestSecurityProperties.java Update FIPS support to bring in latest changes 2022-06-24 17:41:21 +01:00

Rolling release of (usually) STSs OpenJDK OpenJDK has release cadence of 6 months, but 3/4 of them are Short Term Supported for 6 months only. This package is designed to harbor them. Currently it is build of OpenJDK 12. LTSs will go also as separate packages.

JDK12 is current release of Java platform. It is bringing many cool improvements - https://openjdk.java.net/projects/jdk/12/ and is landing to your Fedora. Where it will be maintained for f28 and newer. Unluckily, this package is STS (short term support) version. Between individual LTS there will be always several STS. Again, please see announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html and See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf . So this is rolling release of all STSs to come. Its fate during the release of fresh LTS is yet to be decided. You will always be allowed to install LTS in fedora build root, alongside with latest STS 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://bugzilla.redhat.com/show_bug.cgi?id=1557371#c0 https://fedoraproject.org/wiki/Changes/java-openjdk-10 https://fedoraproject.org/wiki/Changes/java-11-openjdk-TechPreview