Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 45032 invoked from network); 19 Dec 2001 19:38:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Dec 2001 19:38:45 -0000 Received: (qmail 18749 invoked by uid 97); 19 Dec 2001 19:38:38 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 18733 invoked by uid 97); 19 Dec 2001 19:38:38 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 18722 invoked from network); 19 Dec 2001 19:38:37 -0000 Message-ID: <00a001c188bf$538d1310$5a66a8c0@wilshire.com> Reply-To: "Bill Barker" From: "Bill Barker" To: "Tomcat Developers List" Cc: References: <764CA2FF49EC054BA086FC8253A52DD7432DD1@merc09.na.sas.com> <20011219132116.30045.qmail@hm36.locaweb.com.br> Subject: Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util J avaGeneratorTool.java Date: Wed, 19 Dec 2001 10:59:44 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Archived: msg.XXkQG4Ka@sneezy X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Only the nightly builds from 12/15 until tonight. ----- Original Message ----- From: "Renato" To: "Tomcat Developers List" Sent: Wednesday, December 19, 2001 11:21 AM Subject: RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util J avaGeneratorTool.java > Is Tomcat 3.3 affected by this ? > > > On Wed, 19 Dec 2001 08:10:52 -0500, Larry Isaacs > escreveu : > > > I can't get code involving index and length right without > > a lot of trial and error. Fortunately the internal test > > revealed this one. > > > > Larry > > > > > -----Original Message----- > > > From: Bill Barker [mailto:wbarker@wilshire.com] > > > Sent: Wednesday, December 19, 2001 1:09 AM > > > To: Tomcat Developers List > > > Subject: Re: cvs commit: > > > jakarta-tomcat/src/share/org/apache/tomcat/util > > > JavaGeneratorTool.java > > > > > > > > > Oh, well, I guess I had to screw up eventually :-( > > > > > > Thanks for cleaning up my mess. > > > ----- Original Message ----- > > > From: > > > To: > > > Sent: Tuesday, December 18, 2001 6:39 PM > > > Subject: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util > > > JavaGeneratorTool.java > > > > > > > > > > larryi 01/12/18 18:39:39 > > > > > > > > Modified: src/share/org/apache/tomcat/util > > > JavaGeneratorTool.java > > > > Log: > > > > Fix IndexOutOfBoundsException > > > > > > > > Revision Changes Path > > > > 1.5 +1 -1 > > > jakarta-tomcat/src/share/org/apache/tomcat/util/JavaGeneratorTool.java > > > > > > > > Index: JavaGeneratorTool.java > > > > > > > =================================================================== > > > > RCS file: > > > /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/Java > > > GeneratorTool. > > > java,v > > > > retrieving revision 1.4 > > > > retrieving revision 1.5 > > > > diff -u -r1.4 -r1.5 > > > > --- JavaGeneratorTool.java 2001/12/14 03:55:11 1.4 > > > > +++ JavaGeneratorTool.java 2001/12/19 02:39:39 1.5 > > > > @@ -78,7 +78,7 @@ > > > > continue; > > > > } > > > > > > > > - if( (s.length()>=endIdx) && s.charAt( endIdx ) != '/' ) { > > > > + if( (s.length()>endIdx) && s.charAt( endIdx ) != '/' ) { > > > > index = s.indexOf(keywords[i],index+3); > > > > continue; > > > > } > > > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > > For additional commands, e-mail: > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > > > For additional commands, e-mail: > > > > > > > > > > -- > > To unsubscribe, e-mail: unsubscribe@jakarta.apache.org> > > For additional commands, e-mail: help@jakarta.apache.org> > > > > > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: