Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [servlet-dev] TCK challenge - invalidateHttpSessionxTest

Please open an issue at https://github.com/jakartaee/servlet/issues

Thanks,

Mark


On 30/11/2022 22:30, Manfred Riem wrote:
Hi there,

I have a TCK challenge for the invalidateHttpSessionxTest.

See https://github.com/jakartaee/platform-tck/blob/b23c9554913750a532fd60596b09254a8c7340a0/src/com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/URLClient.java#L306 <https://github.com/jakartaee/platform-tck/blob/b23c9554913750a532fd60596b09254a8c7340a0/src/com/sun/ts/tests/servlet/api/jakarta_servlet_http/httpsessionx/URLClient.java#L306>

The Piranha project delivers a Servlet container that returns “null” for the ServletContext.getContext(String uripath) which is

allowable as per https://jakarta.ee/specifications/servlet/6.0/apidocs/jakarta.servlet/jakarta/servlet/servletcontext#getContext(java.lang.String) <https://jakarta.ee/specifications/servlet/6.0/apidocs/jakarta.servlet/jakarta/servlet/servletcontext#getContext(java.lang.String)>

As the test in question assumes that a ServletContext is returned it fails.

Thanks!

Kind regards,

Manfred Riem


_______________________________________________
servlet-dev mailing list
servlet-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/servlet-dev


Back to the top