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

Class.getPackage() returns MANIFEST.MF info from the parent ClassLoader for embedded module dependencies

    Details

    • Fix Priority:
      3

      Description

      This bug is caused by Equinox BugId#490735. Although this is a general problem, it more easily manifests itself in the Liferay 7 + WildFly 10 bundle. This is because WildFly ships with a JBoss-packaged version of the Mojarra implementation of JSF.

      Steps to Reproduce

      1. Start Liferay Portal 7.0.0 CE on WildFly 10

      2. Copy the attached lps-64758-1.0.0.war module to $LIFERAY_HOME/deploy

      3. Add the "LPS 64758" portlet to a portal page

      Expected result: The portlet should output the following, indicating Mojarra 2.2.13 from the embedded lps-64758-1.0.0.war!WEB-INF/jsf-impl-2.2.13.jar dependency:

      JSF Mojarra 2.2.13
      

      Actual result: The portlet outputs the following, indicating the JBoss-packaged version of Mojarra that ships with WildFly:

      JSF null 2.2.12-jbossorg-2
      

      On Liferay Portal 7.1 the result looks like this:

      JSF Reference Implementation 2.2.13.SP4
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dante.wang Dante Wang
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
                Recent user:
                Kyle Stiemann (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  4 years, 20 weeks, 1 day ago

                  Packages

                  Version Package