Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2431

jre-1.6.properties and jre-1.7.properties are missing a lot of packages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Launchpad
    • Labels:
      None
    • Environment:
      CQ 5.5 GA

      Description

      The jre-1.6.properties and jre-1.7.properties files in trunk ( http://svn.apache.org/repos/asf/sling/trunk/launchpad/base/src/main/resources/ ) are missing most of the new Java 6/7 packages.

      The 1.6.properties is basically a copy of the 1.5.properties file plus a couple of additional (annotation, lang.model, script, tools) packages. The 1.7.properties adds javax.swing.plaf.nimbus compared to the 1.6.properties. But most of the other javax packages (like jws, xml, activation - and all of their sub-packages) are missing in both files.

      I found a more accurate list in the jre-1.6/jre-1.7 sections of http://svn.apache.org/repos/asf/felix/trunk/framework/src/main/resources/default.properties (these lists are just missing org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.ranges, org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.xpath).

      I suggest to update these files accordingly.

      As a workround one can take the source of a framework-extension-* bundle and modify as needed. (Modification needed because they are a) also missing some packages and b) they are not Java version specific.)

        Issue Links

          Activity

          Hide
          justinedelson Justin Edelson added a comment -

          this is by design - you should use the framework extension bundles or roll your own.

          Show
          justinedelson Justin Edelson added a comment - this is by design - you should use the framework extension bundles or roll your own.
          Hide
          fmeschbe Felix Meschberger added a comment -

          For reference, SLING-2109 is the issue removing the XML releated packages from the properties file and adding the XML API fragement.

          Show
          fmeschbe Felix Meschberger added a comment - For reference, SLING-2109 is the issue removing the XML releated packages from the properties file and adding the XML API fragement.

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Mike Pfaff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development