Currently the JvmOption.get() method returns a single string, that of which represents the string to be used when starting a java process. Unfortunately some Application*Builders, like the LocalJavaApplicationBuilder can't cope with strings that contain spaces, so much so that they'll attempt to start java processes that will never start. ie: they'll pass invalid arguments containing strings.
The only simple solution is to modify the JvmOption.get() method to return a list of strings, those that would need spaces between them, so that Application*Builders can correctly add the necessary spaces.
Currently the JvmOption.get() method returns a single string, that of which represents the string to be used when starting a java process. Unfortunately some Application*Builders, like the LocalJavaApplicationBuilder can't cope with strings that contain spaces, so much so that they'll attempt to start java processes that will never start. ie: they'll pass invalid arguments containing strings.
The only simple solution is to modify the JvmOption.get() method to return a list of strings, those that would need spaces between them, so that Application*Builders can correctly add the necessary spaces.