Skip to content

Commit d3f9e43

Browse files
committed
Make sure --source-config target is decoded
1 parent 9bd3a30 commit d3f9e43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visualvm/gotosource/src/org/graalvm/visualvm/gotosource/arguments/SourceConfigArgument.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ private static void setValue(String value) throws CommandException {
6060
SourceRootsArgument.setValue(null);
6161
SourceViewerArgument.setValue(null);
6262
} else {
63+
value = SourceArguments.decode(value);
6364
try (InputStreamReader isr = new InputStreamReader(new FileInputStream(value), "UTF-8")) { // NOI18N
6465
Properties props = new Properties();
6566
props.load(isr);

0 commit comments

Comments
 (0)