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

Wolf-Dieter Fink (Jira) issues at jboss.org
Tue Mar 19 12:12:01 EDT 2019


Wolf-Dieter Fink created WFLY-11870:
---------------------------------------

             Summary: 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: Brian Stansberry
         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