diff --git a/GCC-12-reports-some-compiler-warnings.patch b/GCC-12-reports-some-compiler-warnings.patch index 60c289f0f9a44e8bff745f0cccda3961da40c168..4b8bbd21853ffeb05bf9934c4abec8273e42b4fe 100644 --- a/GCC-12-reports-some-compiler-warnings.patch +++ b/GCC-12-reports-some-compiler-warnings.patch @@ -18,24 +18,6 @@ index 7dde7f096..d122f0eae 100644 ifeq ($(USE_CLANG),) # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit -diff --git a/hotspot/src/share/vm/opto/type.cpp b/hotspot/src/share/vm/opto/type.cpp -index 58572f137..92d4e6b70 100644 ---- a/hotspot/src/share/vm/opto/type.cpp -+++ b/hotspot/src/share/vm/opto/type.cpp -@@ -2553,8 +2553,11 @@ TypeOopPtr::TypeOopPtr(TYPES t, PTR ptr, ciKlass* k, bool xk, ciObject* o, int o - _offset >= InstanceMirrorKlass::offset_of_static_fields()) { - // Static fields - assert(o != NULL, "must be constant"); -- ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass(); -- ciField* field = k->get_field_by_offset(_offset, true); -+ ciField* field = NULL; -+ if (o != NULL) { -+ ciInstanceKlass* k = o->as_instance()->java_lang_Class_klass()->as_instance_klass(); -+ field = k->get_field_by_offset(_offset, true); -+ } - assert(field != NULL, "missing field"); - BasicType basic_elem_type = field->layout_type(); - _is_ptr_to_narrowoop = UseCompressedOops && (basic_elem_type == T_OBJECT || -- 2.22.0 diff --git a/add-missing-test-case.patch b/add-missing-test-case.patch index 280da923823eee16f759c2218e8ea0b7f0f5c584..b59b82035bbc246a48c245fb3dd2a1a1485460ae 100644 --- a/add-missing-test-case.patch +++ b/add-missing-test-case.patch @@ -91,7 +91,7 @@ index 00000000..9b614024 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ -+8.442.8.0.13 ++8.452.8.0.13 -- 2.23.0 diff --git a/jdk8u-jdk8u442-b06.tar.xz b/jdk8u-jdk8u452-b09.tar.xz similarity index 82% rename from jdk8u-jdk8u442-b06.tar.xz rename to jdk8u-jdk8u452-b09.tar.xz index 2a959faa4cb93dcd011ebfb487c8dae7327d674b..c35437146b1edf7a75367e2f16a3fdd841f62a1c 100644 Binary files a/jdk8u-jdk8u442-b06.tar.xz and b/jdk8u-jdk8u452-b09.tar.xz differ diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index 9ca7b838df7248e4b8ed755a7f3e783b7ec03e2d..995a15f5b7948d8ef2047fddd5545495b0531d15 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -180,13 +180,13 @@ %global origin_nice OpenJDK %global top_level_dir_name %{origin} %global repo jdk8u -%global revision jdk8u442-b06 +%global revision jdk8u452-b09 %global full_revision %{repo}-%{revision} # Define IcedTea version used for SystemTap tapsets and desktop files %global icedteaver 3.15.0 -%global updatever 442 -%global buildver b06 +%global updatever 452 +%global buildver b09 # priority must be 7 digits in total. The expression is workarounding tip %global priority 1800%{updatever} @@ -953,7 +953,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever}.%{buildver} -Release: 1 +Release: 0 # 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 @@ -2711,6 +2711,11 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Thu Apr 17 2025 DXwangg -1:1.8.0.452.b09-0 +- update to 8u452 +- modified add-missing-test-case.patch +- modified GCC-12-reports-some-compiler-warnings.patch + * Tue Mar 18 2025 swcompiler -1:1.8.0.442.b06-1 - Add sw64 architecture support to 8u442