[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
Wed Apr 10 05:41:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720300#comment-13720300 ]
Tomas Hofman commented on WFLY-11870:
-------------------------------------
Proposed PR: https://github.com/wildfly/wildfly/pull/12217
Waiting for Stuart to review.
> 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
> 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