ProcessObserverMethod Type parameters and CDITCK-174
----------------------------------------------------
Key: CDITCK-199
URL:
https://issues.jboss.org/browse/CDITCK-199
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Reporter: Gurkan Erdogdu
Hi;
Recently TCK 1.0.2 SP1 contains some tests that must be excluded. Those tests are located
in org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest
testGetAnnotatedMethod(org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest)
testProcessObserverMethodEventsSent(org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest)
testGetObserverMethod(org.jboss.jsr299.tck.tests.extensions.observer.ProcessObserverMethodEventTest)
Those tests uses uses wrong type arguments according to the JavaDoc (public interface
ProcessObserverMethod<T,X>). For example,
http://fisheye.jboss.org/browse/weld/cdi-tck/trunk/impl/src/main/java/org...
contains
public void observeObserverMethodForEventB(@Observes ProcessObserverMethod<?,
EventB> event) {}
It must be
public void observeObserverMethodForEventB(@Observes
ProcessObserverMethod<EventB, ?> event) {}
Because JavaDoc is higher importancy than spec, those test must be excluded or changed.
Also this issue was disccussed on mailing list,
http://markmail.org/message/g6c4zsuuzckeai26
Please exclude those tests from TCK 1.0.2 SP1. Otherwise OWB failes to pass TCK.
Thanks;
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira