[weld-issues] [JBoss JIRA] Commented: (CDITCK-213) Interceptor classes in TCK do not follow the Interceptor spec

Martin Kouba (JIRA) jira-events at lists.jboss.org
Thu Sep 22 07:05:26 EDT 2011


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

Martin Kouba commented on CDITCK-213:
-------------------------------------

Not issue in 1.1 anymore.

After investigating CDITCK-228 we made all package-private classes public. These classes have no constructors at all - that means compiler automatically provides a no-argument, default (and public) constructor for them.

> Interceptor classes in TCK do not follow the Interceptor spec
> -------------------------------------------------------------
>
>                 Key: CDITCK-213
>                 URL: https://issues.jboss.org/browse/CDITCK-213
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>    Affects Versions: 1.0.4.Final
>            Reporter: Bob Nettleton
>             Fix For: 1.0.5.CR1
>
>
> There are some interceptor-related suites in the CDI TCK that are not portable in some situations.  The interceptor classes listed here:
> org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.interceptorOrder.MissileInterceptor
> org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.nonContextualReference.MissileInterceptor
> org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.simpleInterception.MissileInterceptor
> These interceptor classes do not have a public, no-args constructor, which is required by the Interceptor 1.1 specification.  This means that the tests may not be portable to all environments, since application servers may choose to treat this as an error condition.  
> The following tests are affected by this issue:
> org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.interceptorOrder.SessionBeanInterceptorOrderTest.testInterceptorsDeclaredUsingInterceptorsCalledBeforeInterceptorBinding
> org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.nonContextualReference.SessionBeanInterceptorOnNonContextualEjbReferenceTest.testNonContextualSessionBeanReferenceIsIntercepted
> org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.simpleInterception.SessionBeanInterceptorDefinitionTest.testSessionBeanIsIntercepted
> I request that these tests be excluded from the 1.0.4 suite, and that the interceptors be fixed for subsequent versions of the test suite.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list