You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2009/01/17 03:45:59 UTC

[jira] Created: (MYFACES-2135) Remove @Deprecated annotations inserted on api methods, since this annotation is runtime type and changes method signature

Remove @Deprecated annotations inserted on api methods, since this annotation is runtime type and changes method signature
--------------------------------------------------------------------------------------------------------------------------

                 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



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.


[jira] Resolved: (MYFACES-2135) Remove @Deprecated annotations inserted on api methods, since this annotation is runtime type and changes method signature

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-2135.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.6-SNAPSHOT

> Remove @Deprecated annotations inserted on api methods, since this annotation is runtime type and changes method signature
> --------------------------------------------------------------------------------------------------------------------------
>
>                 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-SNAPSHOT
>
>
> 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.


[jira] Commented: (MYFACES-2135) 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)

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
    [ 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.