Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.6
-
None
-
None
Description
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.