Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Default and EffectiveSessionTrackingModes should throw UnsupportedOperationException #4697

Closed
janbartel opened this issue Mar 23, 2020 · 0 comments · Fixed by #4698
Closed
Assignees
Labels
Specification For all industry Specifications (IETF / Servlet / etc) TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)

Comments

@janbartel
Copy link
Contributor

jetty 10.0

According to the Servlet Spec, ServletContext.getDefaultSessionTrackingModes and ServletContext.getEffectiveSessionTrackingModes should throw an UnsupportedOperationException if they are called from ServletContextListener.contextInitialized() for a ServletContextListener that was programmatically added.

@janbartel janbartel added Specification For all industry Specifications (IETF / Servlet / etc) TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc) labels Mar 23, 2020
@janbartel janbartel self-assigned this Mar 23, 2020
janbartel added a commit that referenced this issue Mar 23, 2020
…tedOperationException

Signed-off-by: Jan Bartel <janb@webtide.com>
janbartel added a commit that referenced this issue Mar 24, 2020
Signed-off-by: Jan Bartel <janb@webtide.com>
janbartel added a commit that referenced this issue Mar 25, 2020
…tedOperationException (#4698)

* Issue #4697 ServletContext sessionModes methods should throw UnsupportedOperationException

Signed-off-by: Jan Bartel <janb@webtide.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Specification For all industry Specifications (IETF / Servlet / etc) TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)
Projects
None yet
1 participant