You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Pilho Kim <ph...@math.soongsil.ac.kr> on 2000/07/29 14:49:34 UTC

Build error of jakarta-tomcat-20000729

Hi, Costin

There comes an build error with jakarta-tomcat-20000729

------------------------------
tomcat-compile:
    [javac] Compiling 220 source files to
C:\tomcat\000729\build\tomcat\classes
    [javac]
C:\tomcat\000729\jakarta-tomcat\src\share\org\apache\tomcat\facade\S
ervletInputStreamFacade.java:91: Undefined variable or class name: req
    [javac]     limit=req.getContentLength();
    [javac]           ^
    [javac] Note: 3 files use or override a deprecated API.  Recompile
with "-de
precation" for details.
    [javac] 1 error, 1 warning

BUILD FAILED

build.xml:72: Compile failed

Total time: 52 seconds
------------------------------

And so I have to patch
org/apache/tomcat/facade/ServletInputStreamFacade.java
as follows:

    void init() {
-	limit=req.getContentLength();
+	limit=reqA.getContentLength();
	bytesRead=0;
    }


The same patch should be applied to the CVS
org/apache/tomcat/facade/ServletInputStreamFacade.java  
Revision 1.2   (Sat Jul 29 01:35:17 2000 UTC)


Thanks

Kim