OpenJDK 17 Runtime Environment
Go to file
Andrew Hughes 75d8e4a02b Fix flatpak builds (catering for their uncompressed manual pages)
...see
<https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#_uncompressed_manual_pages>
for details

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.

Resolves: rhbz#2102726
2022-08-29 18:04:22 +01:00
tests Introduce tests/tests.yml, based on the one in java-11-openjdk 2022-02-27 02:54:33 +00:00
.gitignore Update to jdk-17.0.4.1+1 2022-08-21 12:10:43 +01:00
CheckVendor.java Update to jdk-17.0.3.0+7 2022-07-17 18:37:13 +01:00
fips-17u-0bd5ca9ccc5.patch Update FIPS support to bring in latest changes 2022-08-29 15:13:57 +01:00
gating.yaml Added gating.yaml 2021-07-13 17:42:35 +02:00
generate_source_tarball.sh Update to jdk-17.0.4.0+1 2022-07-12 03:59:57 +01:00
icedtea_sync.sh Update tapsets from IcedTea 6.x repository with fix for JDK-8015774 changes (_heap->_heaps) and @JAVA_SPEC_VER@ 2022-02-16 00:33:09 +00:00
java-17-openjdk.spec Fix flatpak builds (catering for their uncompressed manual pages) 2022-08-29 18:04:22 +01:00
jconsole.desktop.in Sync desktop files with upstream IcedTea release 3.15.0 using new script 2022-02-10 21:14:21 +00:00
jdk8275535-rh2053256-ldap_auth.patch Add JDK-8275535 patch to fix LDAP authentication issue. 2022-02-23 03:33:43 +00:00
jdk8292223-tzdata2022b-kyiv.patch Update to jdk-17.0.4.1+1 2022-08-21 12:10:43 +01:00
NEWS Update to jdk-17.0.4.1+1 2022-08-21 12:10:43 +01:00
nss.cfg.in Import java-17-openjdk 2021-06-23 03:08:10 +01:00
nss.fips.cfg.in RH2007331: SecretKey generate/import operations don't add the CKA_SIGN attribute in FIPS mode 2022-07-08 04:09:10 +01:00
openjdk_news.sh Update to jdk-17.0.4.0+1 2022-07-12 03:59:57 +01:00
README.md April 2022 security update to jdk 17.0.3+7 2022-04-21 03:09:12 +01:00
remove-intree-libraries.sh Import java-17-openjdk 2021-06-23 03:08:10 +01:00
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch Import java-17-openjdk 2021-06-23 03:08:10 +01:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch Import java-17-openjdk 2021-06-23 03:08:10 +01:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch Update FIPS support to bring in latest changes 2022-06-27 18:43:22 +01:00
rh1648644-java_access_bridge_privileged_security.patch Import java-17-openjdk 2021-06-23 03:08:10 +01:00
rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch Import java-17-openjdk 2021-06-23 03:08:10 +01:00
rh1750419-redhat_alt_java.patch Import java-17-openjdk 2021-06-23 03:08:10 +01:00
rpminspect.yaml Add rpminspect.yaml to turn off Java bytecode inspections 2022-02-28 04:40:37 +00:00
sources Update to jdk-17.0.4.1+1 2022-08-21 12:10:43 +01:00
TestCryptoLevel.java Import java-17-openjdk 2021-06-23 03:08:10 +01:00
TestECDSA.java Import java-17-openjdk 2021-06-23 03:08:10 +01:00
TestSecurityProperties.java Update to jdk-17.0.4.1+1 2022-08-21 12:10:43 +01:00
TestTranslations.java Update to jdk-17.0.4.1+1 2022-08-21 12:10:43 +01:00

OpenJDK 17 is the latest Long-Term Support (LTS) release of the Java platform.

For a list of major changes from OpenJDK 11 (java-11-openjdk), see the upstream release page for OpenJDK 17 and the preceding interim releases: