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/05/15 07:23:45 UTC

[jira] Created: (MYFACES-2233) javax.faces.application.Application should check for default ApplicationImpl on methods added on 1.2 to enhance compatibility with existing jsf 1.1 apps as RI

javax.faces.application.Application should check for default ApplicationImpl on methods added on 1.2 to enhance compatibility with existing jsf 1.1 apps as RI
--------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MYFACES-2233
                 URL: https://issues.apache.org/jira/browse/MYFACES-2233
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.2.6
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


javax.faces.application.Application should check for default ApplicationImpl on methods added on 1.2 to enhance compatibility with existing jsf 1.1 apps as RI

The javadoc says that should thrown UnsupportedOperationException, but curiously, ri or mojarra try to get the default ApplicationImpl instance and if it is not found, the mentioned exception is thrown.

This behavior comes in handy when you have jsf 1.1 libraries that wraps Application object, but does not implement such methods. If ri do it, there is no reason why myfaces shouldn't do it.



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


[jira] Resolved: (MYFACES-2233) javax.faces.application.Application should check for default ApplicationImpl on methods added on 1.2 to enhance compatibility with existing jsf 1.1 apps as RI

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

Leonardo Uribe resolved MYFACES-2233.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.7-SNAPSHOT

> javax.faces.application.Application should check for default ApplicationImpl on methods added on 1.2 to enhance compatibility with existing jsf 1.1 apps as RI
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2233
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2233
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 1.2.7-SNAPSHOT
>
>
> javax.faces.application.Application should check for default ApplicationImpl on methods added on 1.2 to enhance compatibility with existing jsf 1.1 apps as RI
> The javadoc says that should thrown UnsupportedOperationException, but curiously, ri or mojarra try to get the default ApplicationImpl instance and if it is not found, the mentioned exception is thrown.
> This behavior comes in handy when you have jsf 1.1 libraries that wraps Application object, but does not implement such methods. If ri do it, there is no reason why myfaces shouldn't do it.

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