glassfish
  1. glassfish
  2. GLASSFISH-19747

Duplication of weld classes causes increase of distribution size by 3.5MB

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b78
    • Fix Version/s: 4.0_b89_RC5
    • Component/s: cdi
    • Labels:
      None

      Description

      To support CDI in ACC, we are including weld-se.jar in distribution. Its size is 3.5MB - same as weld-osgi-bundle.jar. A quick analysis shows that the two jars mostly overlapping. See the attached files which list the jar contents as resource names. In fact, the se jar even repackages javax.annotation, javax.el, javax.interceptor inside it. I see no reason for them to be included like that in our product when we already have them in file system in separate places. The only extra set of classes are actually org.jboss.weld.environment.se and crucial META-INF/services files. Here is what we should strive for:
      a) Just have all weld related classes in weld-osgi-bundle.jar and make it useable from ACC.
      b) If this is not possible, then see the SE specific artifacts can be packaged in to a separate jar and used in conjunction with above jar.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            phil.zampino
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: