[ https://issues.apache.org/jira/browse/OWB-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957087#comment-16957087 ]
Jonathan Gallimore commented on OWB-1300: ----------------------------------------- I have created a Pull Request to address this issue. This passes all the OWB unit tests, the TCK in TomEE, and the servlet TCK tests that previously failed due to this now pass. [https://github.com/apache/openwebbeans/pull/23] > ClassCastException in org.apache.webbeans.web.context.WebContextsService > ------------------------------------------------------------------------ > > Key: OWB-1300 > URL: https://issues.apache.org/jira/browse/OWB-1300 > Project: OpenWebBeans > Issue Type: Improvement > Affects Versions: 2.0.12 > Reporter: Jonathan Gallimore > Priority: Major > Labels: pull-request-available > > When running the Jakarta EE TCK servlet tests against TomEE, a small number > of tests fail with a ClassCastException in > org.apache.webbeans.web.context.WebContextsService. The reason for this is > that ServletRequestEvent takes an instance of ServletRequest as a parameter. > This is cast to HttpServletRequest in WebContextsService without a check. -- This message was sent by Atlassian Jira (v8.3.4#803005)