You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/06/01 11:55:00 UTC

[jira] [Commented] (IO-735) 2.9.0 breaks OSGi with new Import-Package header

    [ https://issues.apache.org/jira/browse/IO-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355054#comment-17355054 ] 

Gary D. Gregory commented on IO-735:
------------------------------------

Please try git master and see if the current code base meets your use case.

> 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
>            Priority: Major
>             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)