[
https://jira.jboss.org/jira/browse/WBRI-136?page=com.atlassian.jira.plugi...
]
Pete Muir closed WBRI-136.
--------------------------
Resolution: Done
Fixed, plus fixed definition exceptions to just be for type variables or wildcard types,
not any parameterized type.
Observer method resolution ignores type parameters
--------------------------------------------------
Key: WBRI-136
URL:
https://jira.jboss.org/jira/browse/WBRI-136
Project: Web Beans
Issue Type: Bug
Components: Events
Affects Versions: 1.0.0.ALPHA2
Reporter: David Allen
Assignee: Pete Muir
Priority: Minor
Fix For: 1.0.0.PREVIEW
Section 7.7 of the PRD2 specification states: When searching for observers for an event,
the container searches for observers which satisfy the following rules:
• the event object must be assignable to the observed event type, taking type parameters
into consideration, and ...
Currently resolution works only for the event type information, regardless of any
specific type parameters.
The test for this assertion is in
org.jboss.jsr299.tck.unit.event.EventTest.testResolvingChecksTypeParameters().
--
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