[weld-issues] [JBoss JIRA] Created: (CDITCK-180) org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard need to use public

Lance Andersen (JIRA) jira-events at lists.jboss.org
Fri Sep 17 07:11:28 EDT 2010


org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard need to use public
----------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CDITCK-180
                 URL: https://jira.jboss.org/browse/CDITCK-180
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tests
    Affects Versions: 1.0.1.Final
            Reporter: Lance Andersen


The following two classes are missing public in there declarations:
org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer
org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard

Specification version & section: 
The EJB Spec states the following in section "4.9.2 Session Bean Class":

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: 
testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean
testSpecializingBeanHasNameOfSpecializedBean

from 

org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.EnterpriseBeanSpecializationTest

Output:
[9/7/10 14:57:34:309 CDT] 0000002f annotations   E AbstractMergeAction merge An exception occurred while validating an annotation:com.ibm.wsspi.amm.validate.ValidationException: class org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer does not define a valid enterprise bean; the class is either not declared public or is declared as either final or abstract

[9/7/10 14:57:34:312 CDT] 0000002f annotations   E AbstractMergeAction merge An exception occurred while validating an annotation:com.ibm.wsspi.amm.validate.ValidationException: class org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard does not define a valid enterprise bean; the class is either not declared public or is declared as either final or abstract

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