$NetBSD: patch-ae,v 1.2 2002/05/20 19:06:03 cjep Exp $ --- src/share/org/apache/tomcat/loader/AdaptiveClassLoader.java.orig Fri Apr 19 10:40:20 2002 +++ src/share/org/apache/tomcat/loader/AdaptiveClassLoader.java Fri Apr 19 10:40:48 2002 @@ -813,7 +813,7 @@ if (resFile.exists()) { // Build a file:// URL form the file name try { - urls.add( new URL("file", null, resFile.getAbsolutePath()) ); + urls.addElement( new URL("file", null, resFile.getAbsolutePath()) ); if(justOne) return urls; } catch(java.net.MalformedURLException badurl) { badurl.printStackTrace(); @@ -832,7 +832,7 @@ if (ze != null) { try { - urls.add( new URL("jar:file:" + file.getAbsolutePath() + "!/" + name) ); + urls.addElement( new URL("jar:file:" + file.getAbsolutePath() + "!/" + name) ); if(justOne) return urls; } catch(java.net.MalformedURLException badurl) { badurl.printStackTrace();