/[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.40 by tromey, Sun Oct 2 22:58:41 2005 UTC revision 1.41 by mark, Wed Oct 19 23:11:10 2005 UTC
# Line 754  public class URLClassLoader extends Secu Line 754  public class URLClassLoader extends Secu
754    }    }
755    
756    /**    /**
757     * Adds an array of new locations to the end of the internal URL store.     * Adds an array of new locations to the end of the internal URL
758       * store.  Called from the the constructors. Should not call to the
759       * protected addURL() method since that can be overridden and
760       * subclasses are not yet in a good state at this point.
761       *
762     * @param newUrls the locations to add     * @param newUrls the locations to add
763     */     */
764    private void addURLs(URL[] newUrls)    private void addURLs(URL[] newUrls)
765    {    {
766      for (int i = 0; i < newUrls.length; i++)      for (int i = 0; i < newUrls.length; i++)
767        addURL(newUrls[i]);        {
768            urls.add(newUrls[i]);
769            addURLImpl(newUrls[i]);
770          }
771    }    }
772    
773    /**    /**

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

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