W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > September 2007

Re: I think I broke CatalogResolver: what is it?

From: Sean Owen <srowen@google.com>
Date: Sun, 23 Sep 2007 11:56:24 -0400
Message-ID: <e920a71c0709230856k42e5d8a7ndbdc2cccfc1e1996@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:11:46 UTC