Skip to content

Commit 2ef76d1

Browse files
committed
[GR-67977] Match rechability-metadata.json file indentation in dynamic-access errors.
PullRequest: graal/21600
2 parents 4dde2b5 + e0c54a2 commit 2ef76d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/MissingRegistrationUtils.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ private static void printLine(StringBuilder sb, Object object) {
150150
}
151151

152152
protected static JsonWriter getJSONWriter(StringWriter json) throws IOException {
153-
return new JsonPrettyWriter(json).indent().appendIndentation();
153+
return new JsonPrettyWriter(json)
154+
.indent().indent() // match indentation of reachability-metadata.json
155+
.appendIndentation();
154156
}
155157

156158
protected static String elementToJSON(JsonPrintable element) {

0 commit comments

Comments
 (0)