Bug#283487: libservlet2.2-java: FTBFS: Compiler errors

Daniel Schepler Daniel Schepler <schepler@math.berkeley.edu>, 283487@bugs.debian.org
Mon Nov 29 05:09:03 2004


Package: libservlet2.2-java
Severity: serious
Version: 3.3.1a-2

>From my build log (replicated under an i386 chroot):

...
    [javac] Found 3 semantic errors compiling "/tmp/buildd/libservlet2.2-java-3.3.1a/src/share/javax/servlet/http/HttpServlet.java":

    [javac]    944.     public void setStatus(int sc, String sm)
    [javac]                         ^--------------------------^
    [javac] *** Semantic Error: The overridden method "void setStatus(int sc, java.lang.String sm);" is deprecated in type "javax.servlet.http.HttpServletResponse".


    [javac]    993.     public String encodeUrl(String url) 
    [javac]                           ^-------------------^
    [javac] *** Semantic Error: The overridden method "java.lang.String encodeUrl(java.lang.String url);" is deprecated in type "javax.servlet.http.HttpServletResponse".


    [javac]   1010.     public String encodeRedirectUrl(String url)
    [javac]                           ^---------------------------^
    [javac] *** Semantic Error: The overridden method "java.lang.String encodeRedirectUrl(java.lang.String url);" is deprecated in type "javax.servlet.http.HttpServletResponse".
...
BUILD FAILED
file:/tmp/buildd/libservlet2.2-java-3.3.1a/build.xml:31: Compile failed; see the compiler error output for details.

Total time: 0 seconds
make: *** [debian/stamp-ant-build] Error 1

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-9-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card