[weld-issues] [JBoss JIRA] Commented: (CDITCK-184) session beans missing public

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Oct 31 08:04:54 EDT 2010


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

Pete Muir commented on CDITCK-184:
----------------------------------

All EJBs below are now public and I also checked all @Stateless, @Stateful and @Singleton annotated classes to ensure they are public. Hopefully this is all of them!

Needs porting to trunk

>  session beans missing public
> -----------------------------
>
>                 Key: CDITCK-184
>                 URL: https://jira.jboss.org/browse/CDITCK-184
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>    Affects Versions: 1.0.1.CR1
>            Reporter: Lance Andersen
>             Fix For: 1.0.2.CR3
>
>
> The following classes (Session beans) are missing public in their declarations, which causes 25 additional tests to fail (all in org.jboss.jsr299.tck.tests:
> 	context/passivating/broken/enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor/Espoo_Broken.java
> 	context/passivating/broken/enterpriseBeanWithNonPassivatingConstructorFieldInDecorator/Espoo_Broken.java
> 	context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerInDecorator/Espoo_Broken.java
> 	context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor/Espoo_Broken.java
> 	context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInDecorator/Espoo_Broken.java
> 	context/passivating/broken/enterpriseBeanWithNonSerializableIntializerMethod/Espoo_Broken.java
> 	context/passivating/broken/unserializableSimpleInjectedIntoPassivatingEnterpriseBean/Espoo_Broken.java
> 	context/passivating/Turku.java
> 	definition/qualifier/enterprise/EnglishBorderCollie.java
> 	definition/qualifier/enterprise/FamousCat.java
> 	definition/qualifier/enterprise/SkinnyHairlessCat.java
> 	definition/qualifier/enterprise/TameSkinnyHairlessCat.java
> 	event/broken/observer/notBusinessMethod/TibetanTerrier_Broken.java
> 	implementation/enterprise/broken/singletonWithRequestScope/Greyhound_Broken.java
> 	implementation/enterprise/broken/singletonWithSessionScope/IrishTerrier_Broken.java
> 	implementation/enterprise/broken/statelessWithApplicationScope/Dachshund_Broken.java
> 	implementation/enterprise/broken/statelessWithConversationScope/Boxer_Broken.java
> 	implementation/enterprise/broken/statelessWithRequestScope/Beagle_Broken.java
> 	implementation/enterprise/broken/statelessWithSessionScope/Bullmastiff_Broken.java
> 	implementation/enterprise/definition/Ape.java
> 	implementation/enterprise/definition/Giraffe.java
> 	implementation/enterprise/definition/Lion.java
> 	implementation/enterprise/definition/Monkey.java
> 	implementation/enterprise/definition/Pitbull.java
> 	implementation/enterprise/definition/PolarBear.java
> 	implementation/enterprise/newBean/GoldenRetriever.java
> 	implementation/enterprise/newBean/Lion.java
> 	implementation/enterprise/newBean/Order.java
> 	implementation/enterprise/newBean/WrappedEnterpriseBean.java
> 	inheritance/specialization/enterprise/broken/directlyExtendsSimpleBean/Tractor_Broken.java
> 	inheritance/specialization/simple/broken/extendejb/FarmEquipment.java
> 	policy/enterprise/EnabledEjb.java
> 	policy/enterprise/NotEnabledEjb.java
> Specification version & section: 
> The EJB 3.1 Spec states the following in section "4.9.2 Session Bean Class" (and Ejb 3.0 Spec 4.6.2):
> The class must be defined as public, must not be final, and must not be abstract. The class must be a top level class.
> This clearly violates that rule.  These classes are not public.
> Tests Affected (25): 
> testBeanTypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces
> testBeanWithNonSerializableImplementationInjectedIntoTransientFieldOK
> testForEachEnterpriseBeanANewBeanExists
> testInjectionOfDependentPrimitiveProductIntoNormalBean
> testInjectionOfDependentSerializableProductIntoNormalBean
> testManagedBeanWithSerializableDecoratorOK
> testManagedBeanWithSerializableImplementationClassOK
> testManagedBeanWithSerializableInterceptorClassOK
> testNewBeanHasNoBeanELName
> testNewBeanHasNoObservers
> testNewBeanHasNoStereotypes
> testNewBeanIsDependentScoped
> testNewBeanIsHasOnlyNewBinding
> testNonSerializableProducerFieldDeclaredPassivatingThrowsIllegalProductException
> testPassivatingScopeProducerMethodReturnsUnserializableObjectNotOk
> testPassivationCapableProducerFieldIsOK
> testPassivationCapableProducerMethodIsOK
> testPassivationOccurs
> testRemoteInterfacesAreNotInAPITypes
> testSingletonWithRequestScopeFails
> testSingletonWithSessionScopeFails
> testSpecializingClassDirectlyExtendsEnterpriseBean
> testSpecializingClassDirectlyExtendsSimpleBean
> testStatelessWithRequestScopeFails
> testStatelessWithSessionScopeFails

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list