If I specify a command line like -Dsomekey=value1 -Xsomekey=value2, after parsing the value of somekey is overwritten as WritableCommandLine maintains a single set for all properties irrespective of switch.
There should be a way of handling this case. CommandLine should probably return a set of all the switches from which we get properties.
comments? I can submit a patch for this if its ok to make this change.