[weld-issues] [JBoss JIRA] Commented: (CDITCK-149) Bug in org.jboss.jsr299.tck.tests.context.NormalContextTest

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Wed May 5 11:49:07 EDT 2010

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

Gurkan Erdogdu commented on CDITCK-149:

Spec section, 

A custom implementation of Bean is passivation capable if it implements the interface PassivationCapable. An imple-
mentation of Contextual that is not a bean is passivation capable if it implements both PassivationCapable and Serial-

"I think that "This is passed in Weld" because of Weld Bean default extends PassivationCapable" that is not required

For every bean which declares a passivating scope, ....., the container must validate that the
bean truly is passivation capable ........

> Bug in org.jboss.jsr299.tck.tests.context.NormalContextTest
> -----------------------------------------------------------
>                 Key: CDITCK-149
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-149
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Gurkan Erdogdu
> org.jboss.jsr299.tck.tests.context.MyContextual is a SessionScoped bean.As spec section 6.6.4 it must be passivation capable, but it is not. therefore it throws Definition exception

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


More information about the weld-issues mailing list