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.
import java.net.MalformedURLException;
import java.io.File;
import java.util.logging.Logger;
import org.netbeans.api.java.classpath.ClassPath;
import org.netbeans.api.scala.platform.ScalaPlatform;
import org.netbeans.api.scala.platform.Specification;
if (cp != null)
return cp;
String pathSpec = getSystemProperties().get(SYSPROP_BOOT_CLASSPATH);
if (pathSpec == null) {
Logger.getLogger(J2SEPlatformImpl.class.getName()).warning(String.format("No %s property in platform %s, broken platform?", SYSPROP_BOOT_CLASSPATH, getDisplayName())); //NOI18N
pathSpec = ""; //NOI18N
}
String extPathSpec = Util.getExtensions((String)getSystemProperties().get(SYSPROP_JAVA_EXT_PATH));
if (extPathSpec != null) {
pathSpec = pathSpec + File.pathSeparator + extPathSpec;
import org.openide.filesystems.FileObject;
import org.openide.modules.SpecificationVersion;
import org.openide.util.NbBundle;
import org.openide.util.Parameters;
import org.openide.util.Utilities;
public class Util {
static ClassPath createClassPath(String classpath) {
Parameters.notNull("classpath", classpath);
StringTokenizer tokenizer = new StringTokenizer(classpath, File.pathSeparator);
List<PathResourceImplementation> list = new ArrayList<PathResourceImplementation>();
while (tokenizer.hasMoreTokens()) {