OpenJDK 17 Runtime Environment
Go to file
Andrew Hughes ca774ab411 Update to jdk-17.0.9+9 (GA)
Sync the copy of the portable specfile with the latest update
Re-generate FIPS patch against 17.0.9+1 following backport of JDK-8209398
Bump libpng version to 1.6.39 following JDK-8305815
Bump HarfBuzz version to 7.2.0 following JDK-8307301
Bump freetype version to 2.13.0 following JDK-8306881
Update generate_tarball.sh to be closer to upstream vanilla script inc. no more ECC removal
Sync generate_tarball.sh with 11u version
Update bug URL for RHEL to point to the Red Hat customer portal
Change top_level_dir_name to use the VCS tag, matching new upstream release style tarball
Use upstream release URL for OpenJDK source
Apply all patches using -p1
Temporarily turn off 'fresh_libjvm' due to removal of JVM_IsThreadAlive (JDK-8305425)
Fix packaging of CDS archives
Following JDK-8005165, class data sharing can be enabled on all JIT architectures
Exclude classes_nocoops.jsa on i686 and arm32
Introduce vm_variant global for consistency with future JDK builds
Add missing JFR and jpackage alternative ghosts
Move jcmd to the headless package

The JDK build includes CDS archives, classes.jsa and classes_nocoops.jsa
already since JEP 341. Executing -Xshare:dump in the headless post
script breaks AppCDS workflows using dynamic dumps since that relies
on the base CDS archive from the JDK to be unchanged.

** This tarball is embargoed until 2023-10-17 @ 1pm PT. **

Resolves: RHEL-12206
Resolves: RHEL-13664
Resolves: RHEL-13675
Resolves: RHEL-3492
Resolves: RHEL-11318
Resolves: RHEL-13653
2024-07-27 02:49:46 +01:00
tests Sync fileset with RHEL 8 2024-05-03 22:41:55 +01:00
.gitignore Update to jdk-17.0.9+9 (GA) 2024-07-27 02:49:46 +01:00
CheckVendor.java Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
discover_trees.sh Update to jdk-17.0.8.1+1 (GA) 2024-05-11 02:53:59 +01:00
fips-17u-51e1d00be4e.patch Update to jdk-17.0.9+9 (GA) 2024-07-27 02:49:46 +01:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 10:46:48 -08:00
generate_source_tarball.sh Update to jdk-17.0.9+9 (GA) 2024-07-27 02:49:46 +01:00
get_sources.sh Replace build section with extraction of existing builds from portables 2024-05-11 00:34:44 +01:00
icedtea_sync.sh Sync fileset with RHEL 8 2024-05-03 22:41:55 +01:00
java-17-openjdk-portable.specfile Update to jdk-17.0.9+9 (GA) 2024-07-27 02:49:46 +01:00
java-17-openjdk.spec Update to jdk-17.0.9+9 (GA) 2024-07-27 02:49:46 +01:00
jconsole.desktop.in Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
jdk8312489-max_sig_default_increase.patch Update to jdk-17.0.8.1+1 (GA) 2024-05-11 02:53:59 +01:00
nss.cfg.in Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
openjdk_news.sh Update to jdk-17.0.8.1+1 (GA) 2024-05-11 02:53:59 +01:00
README.md Update to jdk-17.0.7.0+7 2024-05-11 01:02:17 +01:00
remove-intree-libraries.sh Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rh1648644-java_access_bridge_privileged_security.patch Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rh1750419-redhat_alt_java.patch Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
rpminspect.yaml Sync fileset with RHEL 8 2024-05-03 22:41:55 +01:00
sources Update to jdk-17.0.9+9 (GA) 2024-07-27 02:49:46 +01:00
TestCryptoLevel.java Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
TestECDSA.java Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
TestSecurityProperties.java Auto sync2gitlab import of java-17-openjdk-17.0.5.0.8-2.el8.src.rpm 2022-11-08 12:11:07 +00:00
TestTranslations.java Auto sync2gitlab import of java-17-openjdk-17.0.6.0.9-0.3.ea.el8.src.rpm 2023-01-16 14:10:47 +00: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:

Rebuilding the OpenJDK package

The OpenJDK packages are now created from a single build which is then packaged for different major versions of Red Hat Enterprise Linux (RHEL). This allows the OpenJDK team to focus their efforts on the development and testing of this single build, rather than having multiple builds which only differ by the platform they were built on.

This does make rebuilding the package slightly more complicated than a normal package. Modifications should be made to the java-17-openjdk-portable.specfile file, which can be found with this README file in the source RPM or installed in the documentation tree by the java-17-openjdk-headless RPM.

Once the modified java-17-openjdk-portable RPMs are built, they should be installed and will produce a number of tarballs in the /usr/lib/jvm directory. The java-17-openjdk RPMs can then be built, which will use these tarballs to create the usual RPMs found in RHEL. The java-17-openjdk-portable RPMs can be uninstalled once the desired final RPMs are produced.

Note that the java-17-openjdk.spec file has a hard requirement on the exact version of java-17-openjdk-portable to use, so this will need to be modified if the version or rpmrelease values are changed in java-17-openjdk-portable.specfile.

To reduce the number of RPMs involved, the fastdebug and slowdebug builds may be disabled using --without fastdebug and --without slowdebug.