Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 98633 invoked by uid 500); 14 Sep 2001 05:49:14 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 98623 invoked from network); 14 Sep 2001 05:49:12 -0000 Sender: bojan@binarix.com Message-ID: <3BA19B0A.B78FE2AB@binarix.com> Date: Fri, 14 Sep 2001 15:52:10 +1000 From: Bojan Smojver Organization: Binarix Corporation Pty Ltd X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.9 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/depend DependClassLoader.java References: <20010914045830.24553.qmail@icarus.apache.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > DependManager dependM; > protected Object pd; > static Jdk11Compat jdkCompat=Jdk11Compat.getJdkCompat(); > @@ -238,8 +238,11 @@ > int idx=fileN.indexOf( "!" ); > if( idx>=0 ) > fileN=fileN.substring( 0, idx) ; > - f=new File( fileN ); > - if( debug > 0 ) log( "Jar dep " +f ); > + // Bojan Smojver : remove jar: > + if( fileN.startsWith( "jar:" )) > + fileN=fileN.substring( 4 ); I think this should actually be "file:" and then the next line should have '5', instead of '4'. Yes? Bojan