]
Tomas Remes commented on CDI-385:
---------------------------------
[~antoinesabot-durand] There is old comment (" // These parameters are the wrong
.." ) on javax.enterprise.inject.spi.ProcessObserverMethod which should be removed.
ProcessObserverMethod is different btw spec and API
---------------------------------------------------
Key: CDI-385
URL:
https://issues.jboss.org/browse/CDI-385
Project: CDI Specification Issues
Issue Type: Bug
Components: Javadoc and API
Affects Versions: 1.1.PFD
Reporter: Mark Struberg
Assignee: Antoine Sabot-Durand
Priority: Critical
Labels: CDI_spec_chge, Ready_to_fix
Fix For: 1.2.Final
As stated in CDI-88 the spec and API is different for ProcessObserverMethod.
In the spec there is a method
public AnnotatedParameter<T> getAnnotatedEventParameter();
but in the API there is
AnnotatedMethod<X> getAnnotatedMethod();
which imo makes much more sense anyway.
Thus we should amend the spec wording finally.