Skip to content

Commit

Permalink
8292499: CDS ArchivedEnumTest.java fails: object points to a static f…
Browse files Browse the repository at this point in the history
…ield that may be reinitialized

Reviewed-by: dholmes, ccheung
  • Loading branch information
iklam committed Aug 19, 2022
1 parent f85411f commit 964aac2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/share/cds/cdsHeapVerifier.cpp
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions test/hotspot/jtreg/ProblemList.txt
Expand Up @@ -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
Expand Down

1 comment on commit 964aac2

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.