You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/22 13:53:00 UTC

[jira] [Updated] (OWB-1300) ClassCastException in org.apache.webbeans.web.context.WebContextsService

     [ https://issues.apache.org/jira/browse/OWB-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated OWB-1300:
--------------------------------
    Labels: pull-request-available  (was: )

> 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)