This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
for (Map.Entry<? extends String,? extends String> entry : config.getProperties().entrySet()) {
if (!entry.getKey().startsWith(ENV_PREFIX)) {
//skip envs, these get filled in later.
toRet.add("-D" + entry.getKey() + "=" + (Utilities.isWindows() ? entry.getValue().replace(quote, escaped) : entry.getValue().replace(quote, "'")));
String val = entry.getValue();
if (Utilities.isWindows()) {
val = val.replace("\"", "\"\"");
}
toRet.add("-D" + entry.getKey() + "=" + val);
final int slen = s.length();
char c;
boolean win = isWindows();
for (int i = 0; i < slen; i++) {
c = s.charAt(i);
continue;
if (c == '\\') {
if (c == '\\' && !win) {
sb.append('\\').append('\\');
if (c == '"') {
sb.append('\\').append('"');
sb.append(win ? '"' : '\\').append('"');