Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-195

ExplicitConstructorSessionBean must have a no-arg constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.2.Final, 1.1.0.Alpha1
    • 1.0.2.CR3
    • Tests
    • None

    Description

      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.

      Attachments

        Activity

          People

            marius.bogoevici Marius Bogoevici (Inactive)
            marius.bogoevici Marius Bogoevici (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty