[weld-issues] [JBoss JIRA] (WELD-1023) Fail-fast when an <alternative> declaration in beans.xml is unused

Geoffrey De Smet (Created) (JIRA) jira-events at lists.jboss.org
Wed Dec 7 05:00:40 EST 2011


Fail-fast when an <alternative> declaration in beans.xml is unused
------------------------------------------------------------------

                 Key: WELD-1023
                 URL: https://issues.jboss.org/browse/WELD-1023
             Project: Weld
          Issue Type: Enhancement
            Reporter: Geoffrey De Smet


I have this in my beans.xml:

  <alternatives>
    <class>org.drools.guvnor.server.repository.TestRepositoryStartupService</class>
  </alternatives>

The class exists, but because of whatever reason (CDI-18 in this case), it's not used.
Yet, everything starts up happily and I think I am using my alternative (while I am not).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list