8292499: CDS ArchivedEnumTest.java fails: object points to a static field that may be reinitialized

Reviewed-by: dholmes, ccheung
This commit is contained in:
Ioi Lam 2022-08-19 03:04:08 +00:00
parent f85411f24a
commit 964aac28fe
2 changed files with 4 additions and 2 deletions

View File

@ -101,6 +101,10 @@ CDSHeapVerifier::CDSHeapVerifier() : _archived_objs(0), _problems(0)
"ALL_UNNAMED_MODULE_SET", // A
"EVERYONE_MODULE", // A
"EVERYONE_SET"); // A
// This is the same as java/util/ImmutableCollections::EMPTY_SET, which is archived
ADD_EXCL("java/lang/reflect/AccessFlag$Location", "EMPTY_SET"); // E
ADD_EXCL("java/lang/System", "bootLayer"); // A
ADD_EXCL("java/lang/VersionProps", "VENDOR_URL_BUG", // C
"VENDOR_URL_VM_BUG", // C

View File

@ -102,8 +102,6 @@ applications/jcstress/copy.java 8229852 linux-all
containers/docker/TestJcmd.java 8278102 linux-all
runtime/cds/appcds/cacheObject/ArchivedEnumTest.java 8292499 generic-all
#############################################################################
# :hotspot_serviceability