Skip to content

Commit c59d15d

Browse files
authored
Merge pull request #10170 from gastaldi/args
JVM args should be aware of quotes
2 parents 1c2d91a + 273c2d3 commit c59d15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public void execute() throws MojoFailureException, MojoExecutionException {
310310
}
311311

312312
if (jvmArgs != null) {
313-
args.addAll(Arrays.asList(jvmArgs.split(" ")));
313+
args.addAll(Arrays.asList(CommandLineUtils.translateCommandline(jvmArgs)));
314314
}
315315

316316
// the following flags reduce startup time and are acceptable only for dev purposes

0 commit comments

Comments
 (0)