OpenJDK 17 Runtime Environment
Go to file
Thomas Fitzsimmons 230a7648f8 Update to jdk-17.0.10+7 (GA)
- Sync the copy of the portable specfile with the latest update
- fips-17u-d63771ea660.patch: Regenerate from gnu-andrew branch
- generate_source_tarball.sh changes:
  - Add WITH_TEMP environment variable
  - Multithread xz on all available cores
  - Add OPENJDK_LATEST environment variable
  - Update comment about tarball naming
  - Remove REPO_NAME from FILE_NAME_ROOT
  - Set compile-command in Emacs
  - Reformat comment header
  - Reformat and update help output
  - Move PROJECT_NAME and REPO_NAME checks
  - Do a shallow clone, for speed
  - Append -ea designator when required
  - Eliminate some removal prompting
  - Make tarball reproducible
  - Prefix temporary directory with temp-
  - shellcheck: Remove x-prefixes since we use Bash
  - shellcheck: Double-quote variable references
  - shellcheck: Do not use -a
  - shellcheck: Do not use $ in expression
  - Remove temporary directory exit conditions
  - Add --sort=name to tar invocation for reproducibility
  - Add note on network usage of OPENJDK_LATEST
- Move to -P<n> usage for patch macro which works on all RPM versions
- Re-enable DEFAULT_PROMOTED_VERSION_PRE check disabled for the July 2023 release
- Remove RH1648644 patch not in portable build (and so not applied to binary used)

- Related: RHEL-45216
2024-07-31 05:37:24 +01:00
tests Introduce tests/tests.yml, based on the one in java-11-openjdk 2024-07-31 05:35:55 +01:00
.gitignore Update to jdk-17.0.10+7 (GA) 2024-07-31 05:37:24 +01:00
CheckVendor.java Update to jdk-17.0.4.0+7 2024-07-31 05:36:17 +01:00
discover_trees.sh Update to jdk-17.0.8.1+1 (GA) 2024-07-31 05:37:10 +01:00
fips-17u-d63771ea660.patch Update to jdk-17.0.10+7 (GA) 2024-07-31 05:37:24 +01:00
gating.yaml Import java-17-openjdk 2024-07-31 05:35:08 +01:00
generate_source_tarball.sh Update to jdk-17.0.10+7 (GA) 2024-07-31 05:37:24 +01:00
get_sources.sh Replace build section with extraction of existing builds from portables 2024-07-31 05:36:54 +01:00
icedtea_sync.sh Update tapsets from IcedTea 6.x repository with fix for JDK-8015774 changes (_heap->_heaps) and @JAVA_SPEC_VER@ 2024-07-31 05:35:31 +01:00
java-17-openjdk-portable.specfile Update to jdk-17.0.10+7 (GA) 2024-07-31 05:37:24 +01:00
java-17-openjdk.spec Update to jdk-17.0.10+7 (GA) 2024-07-31 05:37:24 +01:00
jconsole.desktop.in Sync desktop files with upstream IcedTea release 3.15.0 using new script 2024-07-31 05:35:23 +01:00
nss.cfg.in Import java-17-openjdk 2024-07-31 05:35:08 +01:00
openjdk_news.sh Update to jdk-17.0.8.1+1 (GA) 2024-07-31 05:37:10 +01:00
README.md Update to jdk-17.0.7.0+7 2024-07-31 05:36:58 +01:00
remove-intree-libraries.sh Update to jdk-17.0.5+8 (GA) 2024-07-31 05:36:36 +01:00
rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch Import java-17-openjdk 2024-07-31 05:35:08 +01:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch Import java-17-openjdk 2024-07-31 05:35:08 +01:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch Rebase FIPS patches from fips-17u branch and simplify by using a single patch from that repository 2024-07-31 05:36:08 +01:00
rh1684077-openjdk_should_depend_on_pcsc-lite-libs_instead_of_pcsc-lite-devel.patch Import java-17-openjdk 2024-07-31 05:35:08 +01:00
rh1750419-redhat_alt_java.patch Import java-17-openjdk 2024-07-31 05:35:08 +01:00
rpminspect.yaml Add rpminspect.yaml to turn off Java bytecode inspections 2024-07-31 05:35:58 +01:00
sources Update to jdk-17.0.10+7 (GA) 2024-07-31 05:37:24 +01:00
TestCryptoLevel.java Import java-17-openjdk 2024-07-31 05:35:08 +01:00
TestECDSA.java Import java-17-openjdk 2024-07-31 05:35:08 +01:00
TestSecurityProperties.java Update to jdk-17.0.4.1+1 2024-07-31 05:36:26 +01:00
TestTranslations.java Update to jdk-17.0.6+9 2024-07-31 05:36: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:

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.