[jboss-jira] [JBoss JIRA] (WFLY-11870) abstract classes with @EJB annotation included in libraries will cause deployment failures

Tomas Hofman (Jira) issues at jboss.org
Tue Apr 2 08:27:12 EDT 2019


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

Tomas Hofman reassigned WFLY-11870:
-----------------------------------

    Assignee: Tomas Hofman  (was: Brian Stansberry)


> abstract classes with @EJB annotation included in libraries will cause deployment failures
> ------------------------------------------------------------------------------------------
>
>                 Key: WFLY-11870
>                 URL: https://issues.jboss.org/browse/WFLY-11870
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB, Server
>            Reporter: Wolf-Dieter Fink
>            Assignee: Tomas Hofman
>            Priority: Major
>              Labels: Regression, deployment, injection
>         Attachments: ReproducerInjection.zip
>
>
> If an archive include libraries with interfaces and abstract classes the deployment will fail if there are annotations for injection like @EJB.
> Only if the injected EJB is available within the deployed file (or any other deployment) it is possible to deploy it.
> As the abstract class can not cause any instance the failure does not make sense.
> Also former versions are deploying the same file correct and work fine.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list