Go to file
Andrew Hughes d9723ba601 Update to jdk-18.0.2 release
Update release notes to actually reflect OpenJDK 18
Support JVM variant zero following JDK-8273494 no longer installing Zero's libjvm.so in the server directory
Rebase FIPS patches from fips-18u branch
Rebase RH1648249 nss.cfg patch so it applies after the FIPS patch
Drop now unused fresh_libjvm, build_hotspot_first and bootjdk variables, as we don't build a JDK here
Drop tzdata patches added for 17.0.7 which will eventually appear in the upstream tarball when we reach OpenJDK 21
Disable tzdata tests until we are on the latest JDK and things are back in sync
Adjust rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch
Add new slave jwebserver and corresponding manpage
Add javaver- and origin-specific javadoc and javadoczip alternatives.
Use empty nss.fips.cfg until it is again available via the FIPS patch

Related: RHEL-12998
2024-05-31 18:23:08 +01:00
tests Add files missed by centpkg import. 2023-08-08 22:29:59 +01:00
.gitignore Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
CheckVendor.java Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
discover_trees.sh Add files missed by centpkg import. 2023-08-08 22:29:59 +01:00
fips-18u-60131cc7271.patch Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
gating.yaml Add files missed by centpkg import. 2023-08-08 22:29:59 +01:00
generate_source_tarball.sh Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
icedtea_sync.sh Add files missed by centpkg import. 2023-08-08 22:29:59 +01:00
java-21-openjdk-portable.specfile Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
java-21-openjdk.spec Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
jconsole.desktop.in Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
nss.cfg.in Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
openjdk_news.sh Add files missed by centpkg import. 2023-08-08 22:29:59 +01:00
README.md Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
remove-intree-libraries.sh Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
rh1648644-java_access_bridge_privileged_security.patch Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
rh1750419-redhat_alt_java.patch Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
rpminspect.yaml Add files missed by centpkg import. 2023-08-08 22:29:59 +01:00
sources Update to jdk-18.0.2 release 2024-05-31 18:23:08 +01:00
TestCryptoLevel.java Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
TestECDSA.java Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
TestSecurityProperties.java Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +01:00
TestTranslations.java Create java-21-openjdk package based on java-17-openjdk 2023-08-08 18:48:01 +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:

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.