java-17-openjdk/README.md
Andrew Hughes e0450f0029 Update to jdk-17.0.7.0+7
Update release notes to 17.0.7.0+7
Require tzdata 2023c due to local inclusion of JDK-8274864 & JDK-8305113
Update generate_tarball.sh to add support for passing a boot JDK to the configure run
Add POSIX-friendly error codes to generate_tarball.sh and fix whitespace
Remove .jcheck and GitHub support when generating tarballs, as done in upstream release tarballs
Update FIPS support against 17.0.7+6 and bring in latest changes:
- * RH2134669: Add missing attributes when registering services in FIPS mode.
- * test/jdk/sun/security/pkcs11/fips/VerifyMissingAttributes.java: fixed jtreg main class
- * RH1940064: Enable XML Signature provider in FIPS mode
- * RH2173781: Avoid calling C_GetInfo() too early, before cryptoki is initialized
Fix trailing '.' in tarball name
Use portablerelease in vendor version to avoid inclusion of dist tag
Replace local copies of JDK portable binaries with build dependencies
Include the java-17-openjdk-portable.spec file with instructions on how to rebuild.

** This tarball is embargoed until 2023-04-18 @ 1pm PT. **

- Resolves: RHEL-3489
- Resolves: RHEL-36129
- Resolves: RHEL-36131
- Resolves: RHEL-36133
- Resolves: RHEL-36134
2024-05-11 01:02:17 +01:00

1.9 KiB

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.