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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment