[jboss-jira] [JBoss JIRA] (WFLY-2054) CDI portable extensions with missing dependencies in fields fail to deploy

Ron Šmeral (JIRA) jira-events at lists.jboss.org
Thu Sep 12 11:24:03 EDT 2013


Ron Šmeral created WFLY-2054:
--------------------------------

             Summary: CDI portable extensions with missing dependencies in fields fail to deploy
                 Key: WFLY-2054
                 URL: https://issues.jboss.org/browse/WFLY-2054
             Project: WildFly
          Issue Type: Bug
          Components: CDI / Weld
            Reporter: Ron Šmeral
            Assignee: Stuart Douglas


The following CDI extension *fails to deploy* if Foo is not on classpath:

{code}
public class BrokenExtension implements Extension {
    private Foo foo;
}
{code}

However, if the missing dependency is not a field but a parent class as in the following, the extension is disregarded by the container, but the archive *deploys successfully*:
{code}
public class BrokenExtension extends Foo implements Extension {
}
{code}

It would be more consistent if the behaviour from the second case applied in both cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list