diff --git a/fix-error-in-build-core-variants.patch b/fix-error-in-build-core-variants.patch new file mode 100755 index 0000000000000000000000000000000000000000..560ba27ce6e4228367c07a90389211379a8c3c17 --- /dev/null +++ b/fix-error-in-build-core-variants.patch @@ -0,0 +1,14 @@ +diff --git a/src/hotspot/cpu/aarch64/globals_aarch64.hpp b/src/hotspot/cpu/aarch64/globals_aarch64.hpp +index f26ea2a8b..d8b198a0b 100644 +--- a/src/hotspot/cpu/aarch64/globals_aarch64.hpp ++++ b/src/hotspot/cpu/aarch64/globals_aarch64.hpp +@@ -80,9 +80,7 @@ define_pd_global(intx, InitArrayShortSize, BytesPerLong); + + define_pd_global(bool, ThreadLocalHandshakes, true); + +-#if defined(COMPILER1) || defined(COMPILER2) + define_pd_global(intx, InlineSmallCode, 1000); +-#endif + + #define ARCH_FLAGS(develop, \ + product, \ diff --git a/openjdk-11.spec b/openjdk-11.spec index e5749f65e22363e70dc457586fa454419cabdf09..292ade583e2cc0476f890c4627c76efa4be20bde 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -740,7 +740,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 0 +Release: 1 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -871,6 +871,7 @@ Patch85: 8239017-cmp-baseline-fails-because-of-differences-in-TimeZoneNames_kea. # 11.0.14 Patch86: 8252103-support-Jmap-parallel-heap-inspection.patch Patch87: fix_macroAssembler_missing_matcher_header_file_causing_build_failure.patch +Patch88: fix-error-in-build-core-variants.patch BuildRequires: autoconf BuildRequires: alsa-lib-devel @@ -1158,6 +1159,7 @@ pushd %{top_level_dir_name} %patch85 -p1 %patch86 -p1 %patch87 -p1 +%patch88 -p1 popd # openjdk # %patch1000 @@ -1660,6 +1662,9 @@ require "copy_jdk_configs.lua" %changelog +* Wed Feb 9 2022 kuenking111 - 1:11.0.14.9-1 +- add fix-error-in-build-core-variants.patch + * Tue Feb 8 2022 kuenking111 - 1:11.0.14.9-0 - Update to 11.0.14+9 (GA)