The jsf2-registration-portlet has a custom class named PortalWrapper.java that is used to wrap the default implementation of Portal.java (PortalImpl.java).
The problem is that PortalWrapper.java is a class that changed frequently in the Liferay Portal master branch, and subsequently breaks the Liferay Faces build that tracks the Liferay Portal master branch.
We originally considered adding PortalWrapper.java to the portal API in
LPS-38154, but Brian asked us to use an InvocationHandler instead.
This task involves removing the PortalWrapper.java class and performing the wrapping via InvocationHandler and a Proxy.