[jboss-jira] [JBoss JIRA] (WFLY-11082) ClassCastExceptions and unexpected ServletContainerInitializer executions

Alexander Kudrevatykh (JIRA) issues at jboss.org
Wed Sep 26 11:55:00 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-11082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Kudrevatykh updated WFLY-11082:
-----------------------------------------
    Description: 
I got unexpected ClassCastExceptions in setup as in attached test
ServiceLoader provide only one instance of SCI, but wildlfy executes it twice
More weird - wrong Set of classes passed to onStartup method - classes are not extends @HandlesTypes annotation (because they loaded with different classloaders)
sorry for complex description, look for attached test

  was:
I got unexpected ClassCastExceptions in setup as in attached test
ServiceLoader provide only one instance of SCI, but wildlfy executes it twice
More wired - wrong Set of classes passed to onStartup method - classes are not extends @HandlesTypes annotation (because they loaded with different classloaders)
sorry for complex description, look for attached test



> ClassCastExceptions and unexpected ServletContainerInitializer executions
> -------------------------------------------------------------------------
>
>                 Key: WFLY-11082
>                 URL: https://issues.jboss.org/browse/WFLY-11082
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 14.0.1.Final
>            Reporter: Alexander Kudrevatykh
>            Assignee: Jason Greene
>         Attachments: dependencies.zip
>
>
> I got unexpected ClassCastExceptions in setup as in attached test
> ServiceLoader provide only one instance of SCI, but wildlfy executes it twice
> More weird - wrong Set of classes passed to onStartup method - classes are not extends @HandlesTypes annotation (because they loaded with different classloaders)
> sorry for complex description, look for attached test



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list