Skip to content

Commit 9419112

Browse files
committed
Allow ENUM$VALUES in shared empty array verification.
1 parent c384e66 commit 9419112

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)