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

2.9.0 breaks OSGi with new Import-Package header

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: