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.
String pathString = TestUtil.canonicalize(locLib).getPath();
boolean containsSpace = pathString.indexOf(' ') != -1;
if (containsSpace) {
buf.append('"').append(pathString).append('"');
buf.append(pathString);
needsQuotes = true;
} else {