2483c0c540
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. 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 Resolves: RHEL-36135 |
||
---|---|---|
tests | ||
.gitignore | ||
CheckVendor.java | ||
fips-17u-bf363eecce3.patch | ||
gating.yaml | ||
generate_source_tarball.sh | ||
get_sources.sh | ||
icedtea_sync.sh | ||
java-17-openjdk-portable.specfile | ||
java-17-openjdk.spec | ||
jconsole.desktop.in | ||
jdk8274864-remove_amman_cairo_hacks.patch | ||
jdk8305113-tzdata2023c.patch | ||
nss.cfg.in | ||
openjdk_news.sh | ||
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 | ||
rh1648644-java_access_bridge_privileged_security.patch | ||
rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch | ||
rh1750419-redhat_alt_java.patch | ||
rpminspect.yaml | ||
sources | ||
TestCryptoLevel.java | ||
TestECDSA.java | ||
TestSecurityProperties.java | ||
TestTranslations.java |
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:
- 12: https://openjdk.java.net/projects/jdk/12/
- 13: https://openjdk.java.net/projects/jdk/13/
- 14: https://openjdk.java.net/projects/jdk/14/
- 15: https://openjdk.java.net/projects/jdk/15/
- 16: https://openjdk.java.net/projects/jdk/16/
- 17: https://openjdk.java.net/projects/jdk/17/
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
.