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:
              Nicole Mak
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 31 weeks, 6 days ago