Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4692

Signature Test Failure for jakarta.faces.component.ActionSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0-RC3
    • 5.0.0, 4.1.0
    • None
    • None

    Description

      TCK identified the following issue:

      Missing Methods ---------------
      jakarta.faces.component.ActionSource: method public jakarta.
      el.MethodExpression jakarta.faces.component.ActionSource.getActionExpression()
      jakarta.faces.component.ActionSource: method public void jakarta.faces.component.ActionSource.setActionExpression(jakarta.
      el.MethodExpression)

      Added Methods -------------
      jakarta.faces.component.ActionSource: method public abstract jakarta.
      el.MethodExpression jakarta.faces.component.ActionSource.getActionExpression()
      jakarta.faces.component.ActionSource: method public abstract void jakarta.faces.component.ActionSource.setActionExpression(jakarta.
      el.MethodExpression)

      MyFaces provides an abstract method, while the official API provides a default implementation (which is not abstract).

      To comply with TCK and the javadoc (since it explicitly states a default implementation throws <code>UnsupportedOperationException</code>)

      See: https://jakarta.ee/specifications/faces/4.1/apidocs/jakarta.faces/jakarta/faces/component/actionsource#setActionExpression(jakarta.el.MethodExpression)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              volosied Volodymyr Siedlecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: