From c4e7dc7ff24809ced7bc3363fc3b462108b992dd Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Mon, 18 Nov 2024 18:08:20 +0000 Subject: [PATCH] 8344389: 32-bit builds fail at CDS build time after JDK-8331497 Reviewed-by: iklam --- src/hotspot/share/cds/archiveBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/cds/archiveBuilder.cpp b/src/hotspot/share/cds/archiveBuilder.cpp index da4319955ea..36a17813d32 100644 --- a/src/hotspot/share/cds/archiveBuilder.cpp +++ b/src/hotspot/share/cds/archiveBuilder.cpp @@ -897,7 +897,7 @@ void ArchiveBuilder::make_klasses_shareable() { assert(HeapShared::is_archivable_hidden_klass(ik), "sanity"); } else { // Legacy CDS support for lambda proxies - assert(HeapShared::is_lambda_proxy_klass(ik), "sanity"); + CDS_JAVA_HEAP_ONLY(assert(HeapShared::is_lambda_proxy_klass(ik), "sanity");) } } else if (ik->is_shared_boot_class()) { type = "boot";