Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-735

2.9.0 breaks OSGi with new Import-Package header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0
    • None
    • None

    Description

      Upon updating our project to use commons-io 2.9.0 over 2.8.0 - we got build failures due to missing resolution of sun.nio.ch and sun.misc

      {{missing requirement [org.apache.commons.commons-io/2.9.0] osgi.wiring.package; filter:="(osgi.wiring.package=sun.nio.ch)"]]
      }}

      Running diffoscope over the 2.8.0->2.9.0 changes I see a new MANIFEST.MF entry:

      Import-Package:·sun.misc,sun.nio.ch

      I don't think we should import internal Sun packages here.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              talios Mark Derricutt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: