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.

Reply via email to