[weld-issues] [JBoss JIRA] Created: (CDITCK-195) ExplicitConstructorSessionBean must have a no-arg constructor

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Sun Nov 14 23:17:43 EST 2010


ExplicitConstructorSessionBean must have a no-arg constructor
-------------------------------------------------------------

                 Key: CDITCK-195
                 URL: https://jira.jboss.org/browse/CDITCK-195
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tests
    Affects Versions: 1.0.2.CR3
            Reporter: Marius Bogoevici
             Fix For: 1.0.3.CR4


ExplicitConstructorSessionBean from org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest must have a no-arg constructor. 

While the intent of the test is to exercise the usage of the @Inject-annotated constructor, a session bean class must also have a no-arg constructor, as required by EJB 3.1 spec 4.9.2. This may also be a disconnect between the EJB 3.1 and CDI spec, since the no-arg constructor may not actually be used, however it is still a requirement of the specification.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list