tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util RecycleBufferedInputStream.java
Date Thu, 28 Dec 2000 19:44:41 GMT
jon         00/12/28 11:44:40

  Modified:    src/share/org/apache/tomcat/util Tag: tomcat_32
                        RecycleBufferedInputStream.java
  Log:
  > I found problem that tomcat 3.2-b8 doesn't work on Kaffe VM.
  > (probably 3.2 final is same)
  > Error occurs at read() method in java.io.BufferedInputStream.
  
  > # Maybe it's Kaffe VM's problem.(which has problem?)
  
  Kaffe developer resolved this problem in Kaffe VM.
  We won't need following patch for next Kaffe release.
  
  Takashi Okamoto <tokamoto@rd.nttdata.co.jp>
  
  seems like it is not bad to have it though anyway -JSS
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +7 -2      jakarta-tomcat/src/share/org/apache/tomcat/util/RecycleBufferedInputStream.java
  
  Index: RecycleBufferedInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/RecycleBufferedInputStream.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- RecycleBufferedInputStream.java	2000/06/23 02:16:30	1.2
  +++ RecycleBufferedInputStream.java	2000/12/28 19:44:40	1.2.2.1
  @@ -65,6 +65,11 @@
   import java.util.*;
   import java.text.*;
   
  +/**
  + *   This class needs javadoc. To contribute please send patches to
  + *   the tomcat-dev 
  + *   <a href="http://jakarta.apache.org/site/mail.html">mailing list</a>.
  + */
   public class RecycleBufferedInputStream extends BufferedInputStream {
       public RecycleBufferedInputStream( InputStream is ) {
   	super( is );
  @@ -73,12 +78,12 @@
       public void setInputStream( InputStream is ) {
   	this.count=0;
   	this.in=is;
  +	this.pos=0;
       }
   
       public void recycle() {
   	this.in=null;
   	this.count=0;
  +	this.pos=0;
       }
  -
  -    
   }
  
  
  

Mime
View raw message