Support quotes and white spaces in JavaCommandBuilder#optionsFromEnv

Description

The method JavaCommandBuilder#optionsFromEnv does not support spaces in options.

e.g. -Dsome.java.property="A value with spaces"

Fix suggestion: replace line 127 in file JavaCommandBuilder.java
for (String option : s.split(" ")) {
with
for (String option : s.split(" (?=(?:

\"

\")

$)")) {

Acceptance Test

Manual

Assignee

Yohana Khoury

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12780

Fix versions

Commitment Version/s

None

Due date

None

Product

None

Edition

Open Source

Platform

All
Configure