From f70f17cd96124fea4ca1495381167db8109947f3 Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Sun, 9 Nov 2025 01:33:29 +0000 Subject: [PATCH] Handle new CDS archive variants (*_coh*) added by Compact Object Headers (JDK-8305895) Related: RHEL-126022 --- java-25-openjdk.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java-25-openjdk.spec b/java-25-openjdk.spec index 6a07645..7e3ff37 100644 --- a/java-25-openjdk.spec +++ b/java-25-openjdk.spec @@ -855,8 +855,10 @@ fi %{_jvmdir}/%{sdkdir -- %{?1}}/lib/%{vm_variant}/*.so %ifarch %{share_arches} %attr(444, root, root) %{_jvmdir}/%{sdkdir -- %{?1}}/lib/%{vm_variant}/classes.jsa +%attr(444, root, root) %{_jvmdir}/%{sdkdir -- %{?1}}/lib/%{vm_variant}/classes_coh.jsa %ifnarch %{ix86} %{arm32} %attr(444, root, root) %{_jvmdir}/%{sdkdir -- %{?1}}/lib/%{vm_variant}/classes_nocoops.jsa +%attr(444, root, root) %{_jvmdir}/%{sdkdir -- %{?1}}/lib/%{vm_variant}/classes_nocoops_coh.jsa %endif %endif %dir %{etcjavasubdir} @@ -2544,5 +2546,6 @@ exit 0 - Run javap with the disassembled code (-c) option now required for -l by JDK-8345145 - Remove default.policy and java.policy following JDK-8338411: "Permanently Disable the Security Manager" - Make man page handling dependent on pandoc being available during the portable build +- Handle new CDS archive variants (*_coh*) added by Compact Object Headers (JDK-8305895) - Sync the copy of the portable specfile with the latest update - Related: RHEL-126022