After googled, in Java EE 6, there is a maintence release for JSP 2.1, I will update our JSP spec dependency to 1.0.2-SNAPSHOT. I guess that there are other changes needed except for the generic types.
2009/12/10 Ivan <[email protected]> > Thanks, David. > I do have svn access to those spec codes, but just not sure whether the > methods signatures are really changed in the new spec 3.0. So ... > For JSP, it seems that there is no new 2.2 version in Java EE 6. Yes, I am > also curious about the parameter change, or just a new MR for 2.1? I am > checking it now. > BTW, once JSP/Servlet compilation errors disappeared, I would update the > Tomcat to 7.0. > > 2009/12/10 David Jencks <[email protected]> > > Hi Ivan, >> >> I fixed the servlet sig problems and am pushing a snapshot. >> I don't think we've tried to update the jsp spec yet. Is there a new spec >> version (2.2?) or a MR that introduces these changes? >> >> BTW you should have no problems fixing these problems yourself, the specs >> are at e.g. >> >> >> https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_3.0_spec >> >> thanks >> david jencks >> >> >> >> On Dec 9, 2009, at 6:58 PM, Ivan wrote: >> >> 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<String, ServletRegistration> getServletRegistrations() -> >>> Map<String, ? extends ServletRegistration> getServletRegistrations(); >>> Map<String, FilterRegistration > getFilterRegistrations(); -> >>> Map<String, ? extends FilterRegistration> getFilterRegistrations(); >>> void setSessionTrackingModes(Set<SessionTrackingMode> >>> sessionTrackingModes); -> void >>> setSessionTrackingModes(EnumSet<SessionTrackingMode> sessionTrackingModes); >>> Thanks ! >>> -- >>> Ivan >>> >> >> > > > -- > Ivan > -- Ivan
