Examples of URLClassPath


Examples of sun.misc.URLClassPath

  // this is to make the stack depth consistent with 1.1
  SecurityManager security = System.getSecurityManager();
  if (security != null) {
      security.checkCreateClassLoader();
  }
  ucp = new URLClassPath(urls);
  acc = AccessController.getContext();
    }
View Full Code Here

Examples of sun.misc.URLClassPath

  // this is to make the stack depth consistent with 1.1
  SecurityManager security = System.getSecurityManager();
  if (security != null) {
      security.checkCreateClassLoader();
  }
  ucp = new URLClassPath(urls);
  acc = AccessController.getContext();
    }
View Full Code Here

Examples of sun.misc.URLClassPath

  // this is to make the stack depth consistent with 1.1
  SecurityManager security = System.getSecurityManager();
  if (security != null) {
      security.checkCreateClassLoader();
  }
  ucp = new URLClassPath(urls, factory);
  acc = AccessController.getContext();
    }
View Full Code Here

Examples of sun.misc.URLClassPath

            // This happens while Java itself is being compiled; DownloadManager
            // isn't accessible when this code is first invoked.  It isn't an
            // issue, as if we can't find DownloadManager, we can safely assume
            // that additional code is not available for download.
        }
  URLClassPath ucp = getBootstrapClassPath();
  Resource res = ucp.getResource(name);
  return res != null ? res.getURL() : null;
    }
View Full Code Here

Examples of sun.misc.URLClassPath

        } catch (Throwable e) {
            log.warn("Could not install compiler: Could not obtain access to system class loader", e);
            return;
        }

        URLClassPath urlClassPath = getURLClassPath(urlClassLoader);
        if (urlClassPath == null) {
            // couldn't get the class path... error was already logged
            return;
        }
        urlClassPath.addURL(jar);

        rebuildJavaClassPathVariable(urlClassPath);
    }
View Full Code Here

Examples of sun.misc.URLClassPath

     */
    protected EnhancerClassLoader(URL[] urls)
    {
        super(urls);
        acc = AccessController.getContext();
        ucp = new URLClassPath(urls);
        checkUCP(urls);
    }
View Full Code Here

Examples of sun.misc.URLClassPath

    protected EnhancerClassLoader(URL[] urls,
                                  ClassLoader loader)
    {
        super(urls, loader);
        acc = AccessController.getContext();
        ucp = new URLClassPath(urls);
        checkUCP(urls);
    }
View Full Code Here

Examples of sun.misc.URLClassPath

     */
    protected EnhancerClassLoader(URL[] urls)
    {
        super(urls);
        acc = AccessController.getContext();
        ucp = new URLClassPath(urls);
        checkUCP(urls);
    }
View Full Code Here

Examples of sun.misc.URLClassPath

    protected EnhancerClassLoader(URL[] urls,
                                  ClassLoader loader)
    {
        super(urls, loader);
        acc = AccessController.getContext();
        ucp = new URLClassPath(urls);
        checkUCP(urls);
    }
View Full Code Here

Examples of sun.misc.URLClassPath

    /**
     * Find resources from the VM's built-in classloader.
     */
    private static URL getBootstrapResource(String name) {
        URLClassPath ucp = getBootstrapClassPath();
        Resource res = ucp.getResource(name);
        return res != null ? res.getURL() : null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.