Skip to content

Commit 964aac2

Browse files
committedAug 19, 2022
8292499: CDS ArchivedEnumTest.java fails: object points to a static field that may be reinitialized
Reviewed-by: dholmes, ccheung
1 parent f85411f commit 964aac2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎src/hotspot/share/cds/cdsHeapVerifier.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ CDSHeapVerifier::CDSHeapVerifier() : _archived_objs(0), _problems(0)
101101
"ALL_UNNAMED_MODULE_SET", // A
102102
"EVERYONE_MODULE", // A
103103
"EVERYONE_SET"); // A
104+
105+
// This is the same as java/util/ImmutableCollections::EMPTY_SET, which is archived
106+
ADD_EXCL("java/lang/reflect/AccessFlag$Location", "EMPTY_SET"); // E
107+
104108
ADD_EXCL("java/lang/System", "bootLayer"); // A
105109
ADD_EXCL("java/lang/VersionProps", "VENDOR_URL_BUG", // C
106110
"VENDOR_URL_VM_BUG", // C

‎test/hotspot/jtreg/ProblemList.txt

-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ applications/jcstress/copy.java 8229852 linux-all
102102

103103
containers/docker/TestJcmd.java 8278102 linux-all
104104

105-
runtime/cds/appcds/cacheObject/ArchivedEnumTest.java 8292499 generic-all
106-
107105
#############################################################################
108106

109107
# :hotspot_serviceability

0 commit comments

Comments
 (0)
Please sign in to comment.