Skip to content

Commit 2ba47ef

Browse files
committed
[GR-61067] Dump embedded resources JSON as compact JSON
PullRequest: graal/19754
2 parents 60d8288 + 4cd0e26 commit 2ba47ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/ResourcesFeature.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@
108108
import jdk.graal.compiler.options.Option;
109109
import jdk.graal.compiler.options.OptionType;
110110
import jdk.graal.compiler.phases.util.Providers;
111-
import jdk.graal.compiler.util.json.JsonPrettyWriter;
112111
import jdk.graal.compiler.util.json.JsonWriter;
113112
import jdk.vm.ci.meta.ResolvedJavaMethod;
114113

@@ -639,7 +638,7 @@ public void afterAnalysis(AfterAnalysisAccess access) {
639638
sealed = true;
640639
if (Options.GenerateEmbeddedResourcesFile.getValue()) {
641640
Path reportLocation = NativeImageGenerator.generatedFiles(HostedOptionValues.singleton()).resolve(Options.EMBEDDED_RESOURCES_FILE_NAME);
642-
try (JsonWriter writer = new JsonPrettyWriter(reportLocation)) {
641+
try (JsonWriter writer = new JsonWriter(reportLocation)) {
643642
EmbeddedResourceExporter.printReport(writer);
644643
} catch (IOException e) {
645644
throw VMError.shouldNotReachHere("Json writer cannot write to: " + reportLocation, e);

0 commit comments

Comments
 (0)