/[classpath]/classpath/java/net/URLClassLoader.java
ViewVC logotype

Diff of /classpath/java/net/URLClassLoader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by mkoch, Tue Sep 28 09:08:56 2004 UTC revision 1.23 by tromey, Sat Nov 6 23:24:36 2004 UTC
# Line 1  Line 1 
1  /* URLClassLoader.java --  ClassLoader that loads classes from one or more URLs  /* URLClassLoader.java --  ClassLoader that loads classes from one or more URLs
2     Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 573  public class URLClassLoader extends Secu Line 573  public class URLClassLoader extends Secu
573      addURLs(urls);      addURLs(urls);
574    }    }
575    
576      // Package-private to avoid a trampoline constructor.
577    /**    /**
578     * Private constructor used by the static     * Package-private constructor used by the static
579     * <code>newInstance(URL[])</code> method.  Creates an     * <code>newInstance(URL[])</code> method.  Creates an
580     * <code>URLClassLoader</code> with the given parent but without any     * <code>URLClassLoader</code> with the given parent but without any
581     * <code>URL</code>s yet. This is used to bypass the normal security     * <code>URL</code>s yet. This is used to bypass the normal security
# Line 586  public class URLClassLoader extends Secu Line 587  public class URLClassLoader extends Secu
587     *     *
588     * @param securityContext the security context of the unprivileged code.     * @param securityContext the security context of the unprivileged code.
589     */     */
590    private URLClassLoader(ClassLoader parent,    URLClassLoader(ClassLoader parent, AccessControlContext securityContext)
                          AccessControlContext securityContext)  
591    {    {
592      super(parent);      super(parent);
593      this.factory = null;      this.factory = null;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26