> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Yoav Shapira > Sent: Thursday, May 18, 2006 2:21 PM > To: Tomcat Developers List > Subject: Re: Deprecation Warnings in ServletRequestWrapper > > Hola, > First, I read it as the container must be compile-able under J2SE 1.3, > so maybe we have a different understanding of minimum. > > Second, why require something stricter if we don't have to? > Especially now, in what would be the 18th release of Tomcat 5.5, > thereby causing pain those users who do run on JDK 1.3, just to get > rid of some deprecation warnings that don't make any difference to > anyone except you two apparently? >
And, more to the point, the deprecated methods are still part of the 2.5 spec :), and so still must be included. What would be possible in TC 6 is to do: @SuppressWarnings("deprecation") public void setStatus(int sc, String sm) { ... This would at least allow compiling the servlet-api without deprecation warnings. Of course, you are free to annotate your own classes anyway you want :). > Yoav > > On 5/18/06, Joe Hertz <[EMAIL PROTECTED]> wrote: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=33104 > > > > Closed ostensibly as the spec claims the container must be > compilable under JDK 1.3. > > > > I only see this: > > > > J2SE 1.3 is the minimum version of the underlying Java > platform with which servlet containers must be built. > > > > Humor me here. How does "minimum" imply you cant require > something stricter? If it did, and 1.4 deprecated code you > used, and 1.5 removed it entirely, wouldn't you be stuck? > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Yoav Shapira > Nimalex LLC > 1 Mifflin Place, Suite 310 > Cambridge, MA, USA > [EMAIL PROTECTED] / www.yoavshapira.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]