Details

      Description

      Liferay's implementation may not declare "throws" part when implementing methods defined in Portlet API which have "throws". TCK requires the "throws" also declared in implementations.

      This addresses failures in TCK test suites V2SigTestsEnv, V2SigTestsAction, V2SigTestsRender, V2SigTestsResource and V2SigTestsURL.

      It is using reflection to do the checking:

      See https://github.com/liferay/portals-pluto/blob/master/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/ClassChecker.java

      Also see the usage in test cases:

      https://github.com/liferay/portals-pluto/blob/master/portlet-tck_3.0/V2SigTestsEnv/src/main/java/javax/portlet/tck/portlets/SigTestsEnv_PortletSession_SIGRender.java#L115

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            dante.wang Dante Wang
            Recent user:
            Csaba Turcsan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 10 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP28
                7.0.X EE
                7.0.4 CE GA5
                Master