Lines Matching refs:path

59         System.getProperty("sun.boot.class.path");
256 * The class loader used for loading from java.class.path.
268 final String s = System.getProperty("java.class.path");
269 final File[] path = (s == null) ? new File[0] : getClassPath(s);
282 (s == null) ? new URL[0] : pathToURLs(path);
322 * This class loader supports dynamic additions to the class path
327 private void appendToClassPathForInstrumentation(String path) {
330 // addURL is a no-op if path already contains the URL
331 super.addURL( getFileURL(new File(path)) );
336 * mentioned in the class path. In the case of a jar, it has to
373 // nonexistent jars on boot class path
396 private static URL[] pathToURLs(File[] path) {
397 URL[] urls = new URL[path.length];
398 for (int i = 0; i < path.length; i++) {
399 urls[i] = getFileURL(path[i]);
409 File[] path;
418 path = new File[maxCount];
420 // Now scan for each path component
423 path[count++] = new File(cp.substring(lastPos, pos));
425 // empty path component translates to "."
426 path[count++] = new File(".");
430 // Make sure we include the last path component
432 path[count++] = new File(cp.substring(lastPos));
434 path[count++] = new File(".");
439 System.arraycopy(path, 0, tmp, 0, count);
440 path = tmp;
443 path = new File[0];
446 //for (int i = 0; i < path.length; i++) {
447 // System.out.println("path[" + i + "] = " + '"' + path[i] + '"');
449 return path;
495 private File path[];
500 PathPermissions(File path[])
502 this.path = path;
532 for (int i=0; i < path.length; i++) {
533 File f = path[i];
534 String path;
536 path = f.getCanonicalPath();
538 path = f.getAbsolutePath();
541 codeBase = Launcher.getFileURL(new File(path));
544 if (path.endsWith(File.separator)) {
545 perms.add(new FilePermission(path+"-",
549 path + File.separator+"-",
553 int endIndex = path.lastIndexOf(File.separatorChar);
555 path = path.substring(0, endIndex+1) + "-";
556 perms.add(new FilePermission(path,