Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-29266

Calling a service should set the context class loader to the service implementation's class loader

    Details

      Description

      test-pacl-portlet -> calls sample-service-builder-portlet FooLocalService#getLocalObject()

      getLocalObject uses the context class loader to instantiate a "LocalObject" that only exists in the sample-service-builder-portlet class loader.

      PACLAdvice now serves both as an advice that detects permissions, and also as the advice that sets the context class loader to the proper class loader.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 43 weeks, 3 days ago

                  Subcomponents