Mark Derricutt created IO-735:
---------------------------------

             Summary: 2.9.0 breaks OSGi with new Import-Package header
                 Key: IO-735
                 URL: https://issues.apache.org/jira/browse/IO-735
             Project: Commons IO
          Issue Type: Bug
            Reporter: Mark Derricutt
             Fix For: 2.9.0


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.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to