8344389: 32-bit builds fail at CDS build time after JDK-8331497

Reviewed-by: iklam
This commit is contained in:
Aleksey Shipilev 2024-11-18 18:08:20 +00:00
parent d76b5b888e
commit c4e7dc7ff2

View File

@ -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";