Skip to content

Commit 1c76109

Browse files
committed
[GR-74132] Allow ENUM$VALUES in shared empty array verification.
PullRequest: graal/23574
2 parents b92686e + 9419112 commit 1c76109

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler/src/jdk.graal.compiler.test/src/jdk/graal/compiler/core/test/VerifySharedConstantEmptyArray.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public class VerifySharedConstantEmptyArray extends VerifyStringFormatterUsage {
5252
private static final Set<String> NAMES = CollectionsUtil.setOf(
5353
"EMPTY_ARRAY",
5454
"EMPTY_PATTERNS",
55+
/*
56+
* ECJ uses this synthetic backing field name for empty enum value arrays, such
57+
* as for RecordedOperationPersistence.EnumSetSerializer.UnknownEnum.
58+
*/
59+
"ENUM$VALUES",
5560
"NO_NODES");
5661

5762
@Override

0 commit comments

Comments
 (0)