tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takashi Okamoto" <tokam...@rd.nttdata.co.jp>
Subject [BUG? & PATCH] for Kaffe VM
Date Fri, 08 Dec 2000 19:43:19 GMT
Hello, developers.

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.
If you apply this patch to RecycleBufferedInputStream.java,
it will work collectly on Kaffe VM.

But I don't know this cause in detail.
Please check following patch.

# Maybe it's Kaffe VM's problem.(which has problem?)

Regards.


PS.
Now Kaffe VM needs SUN JDK's classes for JSP.
I found code for jikes compiler, but it does not work yet...
--------------------------
Takashi Okamoto


*** RecycleBufferedInputStream.java.org Sat Dec  9 02:35:35 2000
--- RecycleBufferedInputStream.java Sat Dec  9 02:35:57 2000
***************
*** 73,83 ****
--- 73,85 ----
      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