Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. 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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.6
    • 1.2.7
    • 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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: