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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.CR3
    • 1.0.1.Final
    • Tests
    • None

      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

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

                Created:
                Updated:
                Resolved: