Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 87596 invoked from network); 18 May 2006 22:25:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2006 22:25:14 -0000 Received: (qmail 86762 invoked by uid 500); 18 May 2006 22:25:07 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 86681 invoked by uid 500); 18 May 2006 22:25:07 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 86656 invoked by uid 99); 18 May 2006 22:25:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 15:25:07 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jhertz@speakeasy.net designates 69.17.117.49 as permitted sender) Received: from [69.17.117.49] (HELO webmail2.sea5.speakeasy.net) (69.17.117.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 15:25:05 -0700 Received: (qmail 16537 invoked from network); 18 May 2006 22:24:45 -0000 Received: from localhost (HELO webmail2) ([127.0.0.1]) (envelope-sender ) by localhost (qmail-ldap-1.03) with SMTP for ; 18 May 2006 22:24:45 -0000 Received: from 24.54.212.86 (unverified [24.54.212.86]) by webmail2 (VisualMail 4.0) with WEBMAIL id 14938; Thu, 18 May 2006 22:24:45 +0000 From: "Joe Hertz" To: dev@tomcat.apache.org Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Mintersoft VisualMail, Build 4.0.111601 X-Originating-IP: [24.54.212.86] Date: Thu, 18 May 2006 22:24:45 +0000 Subject: RE: Deprecation Warnings in ServletRequestWrapper MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > 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 y= ou >want :). Interesting you point that out, as comments in the bug claims it's being = fixed in TC 6. If the logic is, "We didn't read the spec right and then we ignored the b= ug when it was first reported too, and in the time since we have acquired= users everywhere who are now dependent on our error", there are two opti= ons. 1) Fix it, tell the 1.3 JDK people they got lucky to have support this fa= r. 2) Mark the bug WONTFIX, not INVALID. You take your chances with the next= JDK. Because like I said before, as long as these deprecated methods are being= used, Tomcat's javax.servlet.* implementation's days are numbers. The ne= xt JDK won't have these methods. Then it's game over. No compilation unde= r the next JDK. If the spec hasn't changed, nor your interpretation of it= , then it's no left-turn, no right-turn, whaddyadoo.. So are you guys _REALLY_ sure this is what the spec is saying with regard= to JDK 1.3 support? -Joe --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org