Skip to content

Commit d89ff1b

Browse files
committed
[GR-54663] Order reachability-metadata.json fields
PullRequest: graal/17993
2 parents 3aea4f3 + c9f244d commit d89ff1b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFile.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,19 @@
3232
import java.util.Arrays;
3333

3434
public enum ConfigurationFile {
35+
/* Combined file */
3536
REACHABILITY_METADATA("reachability-metadata", null, true, true),
36-
DYNAMIC_PROXY("proxy", null, true, false),
37+
/* Main metadata categories (order matters) */
38+
REFLECTION("reflect", REFLECTION_KEY, true, false),
3739
RESOURCES("resource", RESOURCES_KEY, true, false),
40+
SERIALIZATION("serialization", SERIALIZATION_KEY, true, false),
3841
JNI("jni", JNI_KEY, true, false),
42+
/* Deprecated metadata categories */
43+
DYNAMIC_PROXY("proxy", null, true, false),
44+
PREDEFINED_CLASSES_NAME("predefined-classes", null, true, false),
45+
/* Non-metadata categories */
3946
FOREIGN("foreign", null, false, false),
40-
REFLECTION("reflect", REFLECTION_KEY, true, false),
41-
SERIALIZATION("serialization", SERIALIZATION_KEY, true, false),
42-
SERIALIZATION_DENY("serialization-deny", null, false, false),
43-
PREDEFINED_CLASSES_NAME("predefined-classes", null, true, false);
47+
SERIALIZATION_DENY("serialization-deny", null, false, false);
4448

4549
public static final String LEGACY_FILE_NAME_SUFFIX = "-config.json";
4650
public static final String COMBINED_FILE_NAME_SUFFIX = ".json";

0 commit comments

Comments
 (0)