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

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Fri Nov 26 14:10:30 EST 2010


    [ https://jira.jboss.org/browse/CDITCK-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565682#comment-12565682 ] 

Marius Bogoevici commented on CDITCK-195:
-----------------------------------------

Fixed in the 1.0 branch.

> 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
>            Assignee: 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