Hey guys,

i try to fix 
org.jboss.cdi.tck.tests.extensions.lifecycle.processBeanAttributes.broken.invalid.InvalidStereotypeTest
 but i got no idea why a DefinitionException is expected.

In 
org.jboss.cdi.tck.tests.extensions.lifecycle.processBeanAttributes.broken.invalid.InvalidStereotypeExtension
 they override getStereotypes() and return <null> (maybe they want to return 
the 
org.jboss.cdi.tck.tests.extensions.lifecycle.processBeanAttributes.broken.invalid.PlainOldAnnotation
 which is no stereotype)

i’m not sure if it’s not allowed to return <null> in getStereotypes() (spec: 
2.8 Stereotypes… A bean may declare zero, one or multiple stereotypes.)  or if 
there is a bug in the tck?

lg
reini

Reply via email to