Sorry about the comment - finger trouble on my part ;) Mark
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 03, 2004 8:52 PM > To: [EMAIL PROTECTED] > Subject: cvs commit: > jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/load > er WebappClassLoader.java > > markt 2004/07/03 12:52:07 > > Modified: catalina/src/share/org/apache/catalina/loader > WebappClassLoader.java > Log: > CVS: > ---------------------------------------------------------------------- > CVS: PR: > CVS: If this change addresses a PR in the problem report tracking > CVS: database, then enter the PR number(s) here. > CVS: Obtained from: > CVS: If this change has been taken from another system, > such as NCSA, > CVS: then name the system in this line, otherwise delete it. > CVS: Submitted by: > CVS: If this code has been contributed to Apache by > someone else; i.e., > CVS: they sent us a patch or a new module, then include > their name/email > CVS: address here. If this is your work then delete this line. > CVS: Reviewed by: > CVS: If we are doing pre-commit code reviews and someone else has > CVS: reviewed your changes, include their name(s) here. > CVS: If you have not had it reviewed then delete this line. > > Revision Changes Path > 1.53 +6 -10 > jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/load > er/WebappClassLoader.java > > Index: WebappClassLoader.java > =================================================================== > RCS file: > /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/cat > alina/loader/WebappClassLoader.java,v > retrieving revision 1.52 > retrieving revision 1.53 > diff -u -r1.52 -r1.53 > --- WebappClassLoader.java 3 Jul 2004 18:47:28 -0000 1.52 > +++ WebappClassLoader.java 3 Jul 2004 19:52:06 -0000 1.53 > @@ -1895,12 +1895,8 @@ > */ > protected boolean isPackageSealed(String name, Manifest man) { > > - StringBuffer buf = new StringBuffer(name); > - for (int i=0;i<buf.length();i++) { > - if (buf.charAt(i)=='.') buf.setCharAt(i,'/'); > - } > - buf.append('/'); > - Attributes attr = man.getAttributes(buf.toString()); > + String path = name.replace('.', '/') + '/'; > + Attributes attr = man.getAttributes(path); > String sealed = null; > if (attr != null) { > sealed = attr.getValue(Name.SEALED); > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]