[ 
https://issues.apache.org/jira/browse/MYFACES-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667807#action_12667807
 ] 

Simon Kitching commented on MYFACES-2135:
-----------------------------------------

Just a note for future reference: the "changes method signature" comment here 
means that the Sun JSF TCK is complaining. It really should not; if the methods 
can be annotated with the javadoc @deprecated comment, then there is no sane 
reason why the more modern @Deprecated annotation should not be allowed. 
However getting the TCK fixed is difficult or maybe impossible, so the 
(perfectly valid) @Deprecated annotations have been removed from the myfaces 
source instead.

> Remove @Deprecated annotations inserted on api methods, since this annotation 
> is runtime type and changes method signature (a tck test fails if this 
> annotation is present)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2135
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2135
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.5
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 1.2.6
>
>
> The list of changes is this:
> javax.faces.component.UICommand.getAction():                anno 0
> java.lang.Deprecated()
> javax.faces.component.UICommand.getActionListener():        anno 0
> java.lang.Deprecated()
> javax.faces.component.UICommand.setAction(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UICommand.setActionListener(javax.faces.el.MethodBinding):anno
> 0 java.lang.Deprecated()
> javax.faces.component.UIInput.getValueChangeListener():     anno 0
> java.lang.Deprecated()
> javax.faces.component.UIInput.getValueChangeListener():     anno 0
> java.lang.Deprecated()
> javax.faces.component.UIInput.getValueChangeListener():     anno 0
> java.lang.Deprecated()
> javax.faces.component.UIInput.getValueChangeListener():     anno 0
> java.lang.Deprecated()
> javax.faces.component.UIInput.setValidator(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValidator(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValidator(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValidator(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValueChangeListener(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValueChangeListener(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValueChangeListener(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()
> javax.faces.component.UIInput.setValueChangeListener(javax.faces.el.MethodBinding):
> anno 0 java.lang.Deprecated()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to