Summary: | HttpServletRequest#logout() never calls TomcatPrincipal#logout() | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Michael Osipov <michaelo> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 8.5.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 60379 | ||
Attachments: |
Patch calling TomcatPrincipal#logout()
Patch calling TomcatPrincipal#logout() |
Description
Michael Osipov
2016-11-16 10:29:32 UTC
Created attachment 34462 [details]
Patch calling TomcatPrincipal#logout()
Created attachment 34463 [details]
Patch calling TomcatPrincipal#logout()
Thanks for the report and the patch. I applied a slightly modified patch that used Tomcat's standard(ish) style of exception handling. Fixed in: - trunk for 9.0.0.M14 onwards - 8.5.x for 8.5.9 onwards - 8.0.x for 8.0.40 onwards - 7.0.x for 7.0.74 onwards (In reply to Mark Thomas from comment #3) > Thanks for the report and the patch. I applied a slightly modified patch > that used Tomcat's standard(ish) style of exception handling. Any reason not to keep "catch (Exception e)" because Exception extends Throwable and the ExceptionUtils still can do their work? Anything but Exception indicates some severe VM error. The reason is java.lang.StackOverflowError and anything similar that may be added / discovered. |