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