From b2a3994db7be242a81a267b2dc3639c6996a441d Mon Sep 17 00:00:00 2001 From: neu-mobi Date: Tue, 18 Jun 2024 10:28:35 +0800 Subject: [PATCH] fix potential compilation errors --- ZGC-AArch64-Optimizations-and-Fixes.patch | 8 ++++++++ openjdk-11.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ZGC-AArch64-Optimizations-and-Fixes.patch b/ZGC-AArch64-Optimizations-and-Fixes.patch index 1d54192..0fa61a5 100644 --- a/ZGC-AArch64-Optimizations-and-Fixes.patch +++ b/ZGC-AArch64-Optimizations-and-Fixes.patch @@ -2678,6 +2678,14 @@ diff --git a/src/hotspot/share/ci/ciInstanceKlass.cpp b/src/hotspot/share/ci/ciI index 5c65ffff3..081785c41 100644 --- a/src/hotspot/share/ci/ciInstanceKlass.cpp +++ b/src/hotspot/share/ci/ciInstanceKlass.cpp +@@ -36,6 +36,7 @@ + #include "runtime/fieldDescriptor.inline.hpp" + #include "runtime/handles.inline.hpp" + #include "runtime/jniHandles.inline.hpp" ++#include "runtime/sharedRuntime.hpp" + + // ciInstanceKlass + // @@ -42,6 +42,44 @@ // This class represents a Klass* in the HotSpot virtual machine // whose Klass part in an InstanceKlass. diff --git a/openjdk-11.spec b/openjdk-11.spec index 7ccdbd4..bd9e511 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -762,7 +762,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 4 +Release: 5 # 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 @@ -1715,6 +1715,9 @@ cjc.mainProgram(arg) %changelog +* Tue Jun 18 2024 neu-mobi - 1.11.0.23.9-5 +- fix potential compilation errors + * Sat Jun 15 2024 neu-mobi - 1.11.0.23.9-4 - Collate patches and merge patches related to ZGC -- Gitee