- From: Sean Owen <srowen@google.com>
- Date: Sun, 23 Sep 2007 11:56:24 -0400
- To: "Roland Gülle" <roland@7val.com>
- Cc: public-mobileok-checker <public-mobileok-checker@w3.org>
The warnings are OK -- this a known bug in javac. When you extend a class with deprecated methods, you get warnings on those methods, even if you don't override them. On 9/23/07, Roland Gülle <roland@7val.com> wrote: > But now I get some build warnings ( javac 1.6.0-dp) : > ------------- > [javac] /Users/roland/cvs/w3c/2007/mobileok-ref/test/src/org/w3c/ > mwi/mobileok/basic/NoHeadersHTTPServletResponse.java:9: warning: > [deprecation] setStatus(int,java.lang.String) in > javax.servlet.http.HttpServletResponse has been deprecated > [javac] final class NoHeadersHTTPServletResponse extends > HttpServletResponseWrapper { > [javac] ^ > [javac] /Users/roland/cvs/w3c/2007/mobileok-ref/test/src/org/w3c/ > mwi/mobileok/basic/NoHeadersHTTPServletResponse.java:9: warning: > [deprecation] encodeRedirectUrl(java.lang.String) in > javax.servlet.http.HttpServletResponse has been deprecated > [javac] final class NoHeadersHTTPServletResponse extends > HttpServletResponseWrapper { > [javac] ^ > [javac] /Users/roland/cvs/w3c/2007/mobileok-ref/test/src/org/w3c/ > mwi/mobileok/basic/NoHeadersHTTPServletResponse.java:9: warning: > [deprecation] encodeUrl(java.lang.String) in > javax.servlet.http.HttpServletResponse has been deprecated > [javac] final class NoHeadersHTTPServletResponse extends > HttpServletResponseWrapper { > [javac] ^ > [javac] 3 warnings > -------------- > roland > >
Received on Sunday, 23 September 2007 15:56:42 UTC