OpenJDK Runtime Environment
Go to file
Andrew Hughes dcb5dc7a21 Make source tarballs reproducible and support construction in a temporary directory.
Move to upstream tag style (shenandoah8ux-by) in preparation for eventually moving back to official sources

- generate_source_tarball.sh: Add WITH_TEMP environment variable
- generate_source_tarball.sh: Multithread xz on all available cores
- generate_source_tarball.sh: Add OPENJDK_LATEST environment variable
- generate_source_tarball.sh: Update comment about tarball naming
- generate_source_tarball.sh: Reformat comment header
- generate_source_tarball.sh: Reformat and update help output
- generate_source_tarball.sh: Do a shallow clone, for speed
- generate_source_tarball.sh: Eliminate some removal prompting
- generate_source_tarball.sh: Make tarball reproducible
- generate_source_tarball.sh: Prefix temporary directory with temp-
- generate_source_tarball.sh: Remove temporary directory exit conditions
- generate_source_tarball.sh: Rename JCONSOLE_JS_PATCH{,_DEFAULT} to JCONSOLE_PATCH{,_DEFAULT} for brevity
- generate_source_tarball.sh: Adapt OPENJDK_LATEST logic to work with 8u Shenandoah fork
- generate_source_tarball.sh: Adapt version logic to work with 8u

Related: RHEL-30925
2025-08-13 13:39:04 +01:00
tests Sync with RHEL 8 sources as of ef63802fead4135d5775409677d8850a3406074e 2025-05-15 20:18:29 +01:00
.gitignore Make source tarballs reproducible and support construction in a temporary directory. 2025-08-13 13:39:04 +01:00
CheckVendor.java Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
config.guess Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
config.sub Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
discover_trees.sh Update to shenandoah-jdk8u392-b08 (GA) 2025-06-15 17:04:58 +01:00
fips-8u-6d1aade0648.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 10:46:51 -08:00
generate_singlerepo_source_tarball.sh Sync with RHEL 8 sources as of ef63802fead4135d5775409677d8850a3406074e 2025-05-15 20:18:29 +01:00
generate_source_tarball.sh Make source tarballs reproducible and support construction in a temporary directory. 2025-08-13 13:39:04 +01:00
get_sources.sh Sync with RHEL 8 sources as of ef63802fead4135d5775409677d8850a3406074e 2025-05-15 20:18:29 +01:00
icedtea_sync.sh Sync with RHEL 8 sources as of ef63802fead4135d5775409677d8850a3406074e 2025-05-15 20:18:29 +01:00
java-1.8.0-openjdk-portable.specfile Update to shenandoah-jdk8u402-b06 (GA) 2025-06-24 21:28:42 +01:00
java-1.8.0-openjdk-remove-intree-libraries.sh Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
java-1.8.0-openjdk.spec Make source tarballs reproducible and support construction in a temporary directory. 2025-08-13 13:39:04 +01:00
jconsole-plugin.patch Sync with RHEL 8 sources as of ef63802fead4135d5775409677d8850a3406074e 2025-05-15 20:18:29 +01:00
jconsole.desktop.in Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8035341-allow_using_system_installed_libpng.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8042159-allow_using_system_installed_lcms2-jdk.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8042159-allow_using_system_installed_lcms2-root.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8043805-allow_using_system_installed_libjpeg.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8143245-pr3548-zero_build_requires_disabled_warnings.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8199936-pr3533-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8199936-pr3591-enable_mstackrealign_on_x86_linux_as_well_as_x86_mac_os_x_jdk.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8203030-zero_s390_31_bit_size_t_type_conflicts_in_shared_code.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8257794-remove_broken_assert.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
jdk8281098-pr3836-pass_compiler_flags_to_adlc.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
nss.cfg.in Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
nss.fips.cfg.in Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
openjdk_news.sh Update to shenandoah-jdk8u392-b08 (GA) 2025-06-15 17:04:58 +01:00
policytool.desktop.in Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
pr2462-resolve_disabled_warnings_for_libunpack_and_the_unpack200_binary.patch Update to shenandoah-jdk8u392-b08 (GA) 2025-06-15 17:04:58 +01:00
pr2737-allow_multiple_pkcs11_library_initialisation_to_be_a_non_critical_error.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
pr2888-rh2055274-support_system_cacerts-8139f2361c2.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.362.b09-3.el8.src.rpm 2023-03-02 06:10:17 +00:00
pr2974-rh1337583-add_systemlineendings_option_to_keytool_and_use_line_separator_instead_of_crlf_in_pkcs10.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
pr3083-rh1346460-for_ssl_debug_return_null_instead_of_exception_when_theres_no_ecc_provider.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
pr3593-s390_use_z_format_specifier_for_size_t_arguments_as_size_t_not_equals_to_int.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
README.md Include the java-1.8.0-openjdk-portable.spec file with instructions on how to rebuild. 2025-05-15 20:53:56 +01:00
repackReproduciblePolycies.sh Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.362.b09-4.el8.src.rpm 2023-03-16 02:13:20 +00:00
rh1582504-rsa_default_for_keytool.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
rh1648246-always_instruct_vm_to_assume_multiple_processors_are_available.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
rh1648249-add_commented_out_nss_cfg_provider_to_java_security.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
rh1648644-java_access_bridge_privileged_security.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
rh1750419-redhat_alt_java.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
s390-8214206_fix.patch Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
sources Make source tarballs reproducible and support construction in a temporary directory. 2025-08-13 13:39:04 +01:00
TestCryptoLevel.java Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
TestECDSA.java Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
TestSecurityProperties.java Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.src.rpm 2023-01-15 10:58:39 +00:00
TestTranslations.java Auto sync2gitlab import of java-1.8.0-openjdk-1.8.0.362.b08-3.el8.src.rpm 2023-02-02 20:10:16 +00:00
update_main_sources.sh Sync with RHEL 8 sources as of ef63802fead4135d5775409677d8850a3406074e 2025-05-15 20:18:29 +01:00

OpenJDK 8 is a Long-Term Support (LTS) release of the Java platform.

For a list of major changes in OpenJDK 8 (java-1.8.0-openjdk), see the upstream release page: https://openjdk.org/projects/jdk8/features

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-1.8.0-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-1.8.0-openjdk-headless RPM.

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

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

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