Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 37535 invoked from network); 10 Dec 2009 02:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Dec 2009 02:58:59 -0000 Received: (qmail 50659 invoked by uid 500); 10 Dec 2009 02:58:58 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 50494 invoked by uid 500); 10 Dec 2009 02:58:57 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 50486 invoked by uid 99); 10 Dec 2009 02:58:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 02:58:57 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xhhsld@gmail.com designates 209.85.221.176 as permitted sender) Received: from [209.85.221.176] (HELO mail-qy0-f176.google.com) (209.85.221.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 02:58:55 +0000 Received: by qyk6 with SMTP id 6so3295810qyk.3 for ; Wed, 09 Dec 2009 18:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ogCIqPjNruGYBOTZwHk6rEvKxYba62ET5KiPfq8jil0=; b=r3P/zSH3S+93SYlUEDnj4XMRFZb+rCfzQZwbOzYG30q2cNBi4RitOh5oI3JdapY89W HYHup/SKmMKj1HFF6yth4vlngSVKHcWHZfPYug2UiD5V09XxQR3zDUF/xkTbYT3+oYht V0q5MS4KrjnbIFQnHRoStXzPrsYd9Evc09rho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PQV1KHOHTO/0bvU3w3/+eUEIlF8q3/O5T7pn5Agfgan3XRa43SKocvKXXmstAl4OPr 5FHHyrcC4KJZyqsAQkUTF7yZ7qdm3Gi2AA1JOUGwL/FvNjv6zsGot48C8ytnvowxUwjG IZ+7SSpb7xL6v4B7QdBByqr4bD3yZOqCOG5X8= MIME-Version: 1.0 Received: by 10.229.101.165 with SMTP id c37mr1932676qco.5.1260413914665; Wed, 09 Dec 2009 18:58:34 -0800 (PST) Date: Thu, 10 Dec 2009 10:58:34 +0800 Message-ID: <45f744e40912091858g14446a37ia9635b697e75e54e@mail.gmail.com> Subject: Some spec API changes while compiling Tomcat 7 with Geronimo Servlet/JSP API From: Ivan To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=0016364ee4c8a75506047a56fb49 --0016364ee4c8a75506047a56fb49 Content-Type: text/plain; charset=ISO-8859-1 Hi, While compiling Tomcat 7 with our own Servlet/JSP API, there are some errors about method signature changes. So far, I have no access to the new specs, if anyone could, please help to check it. javax.servlet.jsp.elExpressionEvaluator 1. The parameter expectedType in all the methods are changed to generic type Class 2. javax.servlet.ServletContext Map getServletRegistrations() -> Map getServletRegistrations(); Map getFilterRegistrations(); -> Map getFilterRegistrations(); void setSessionTrackingModes(Set sessionTrackingModes); -> void setSessionTrackingModes(EnumSet sessionTrackingModes); Thanks ! -- Ivan --0016364ee4c8a75506047a56fb49 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
=A0=A0=A0 While compiling Tomcat 7 with our own Servlet/JSP API, the= re are some errors about method signature changes. So far, I have no access= to the new specs, if anyone could, please help to check it.
=A0=A0=A0 j= avax.servlet.jsp.elExpressionEvaluator
=A0=A0=A0 1. The parameter expectedType in all the methods are changed to g= eneric type Class<?>
=A0=A0=A0 2. javax.servlet.ServletContext
= =A0=A0=A0=A0=A0=A0=A0 Map<String, ServletRegistration> getServletRegi= strations() -> Map<String, ? extends ServletRegistration> getServl= etRegistrations();
=A0=A0=A0=A0=A0=A0=A0 Map<String, FilterRegistration > getFilterRegis= trations(); -> Map<String, ? extends FilterRegistration> getFilter= Registrations();
=A0=A0=A0=A0=A0=A0 void setSessionTrackingModes(Set<= SessionTrackingMode> sessionTrackingModes); -> void setSessionTrackin= gModes(EnumSet<SessionTrackingMode> sessionTrackingModes);
=A0 Thanks !
--
Ivan
--0016364ee4c8a75506047a56fb49--