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

WAB plugins are getting resources from portal-impl.jar without importing them

    Details

      Description

      When the WAB extender sets EquinoxClassLoader as the Thread Context Class Loader (TCCL) and it is stored by the plugins, subsequent calls to the ClassLoader return resources from portal-impl.jar since it is in the parent call and the call to org.eclipse.osgi.internal.loader.BundleLoader.isRequestFromVM() returns true, causing findResource and findClassInternal to enter the bootdelegation branch, causing some resources and classes to be fetched from portal-impl when they are not imported or exported appropiately.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ian.song Ian Song (Inactive)
              Reporter:
              carlos.sierra Carlos Sierra
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 42 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 5