[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Work logged] (IO-734) The OSGi manifest now contains sun.* packages in the Import-Package in
From:       "ASF GitHub Bot (Jira)" <jira () apache ! org>
Date:       2021-05-31 20:19:00
Message-ID: JIRA.13381168.1622402187000.531214.1622492340073 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/IO-734?focusedWorklogId=604272&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-604272 \
]

ASF GitHub Bot logged work on IO-734:
-------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/May/21 20:18
            Start Date: 31/May/21 20:18
    Worklog Time Spent: 10m 
      Work Description: garydgregory merged pull request #239:
URL: https://github.com/apache/commons-io/pull/239


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 604272)
    Time Spent: 0.5h  (was: 20m)

> The OSGi manifest now contains sun.* packages in the Import-Package instruction
> -------------------------------------------------------------------------------
> 
> Key: IO-734
> URL: https://issues.apache.org/jira/browse/IO-734
> Project: Commons IO
> Issue Type: Bug
> Reporter: Eric Norman
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
> 
> After attempting to upgrade to commons-io:2.9.0 for apache sling I see that there \
> are now required imports for some sun.* packages in the OSGi manifest.   These \
> references appear to be coming from a new  BufferedFileChannelInputStream class in \
> version 2.9.0. This results in an error for OSGi environments where those packages \
> are not exposed anywhere. Specifically this error:
> 
> {noformat}
> commons-io:commons-io:2.9.0: is importing package(s) [sun.nio.ch, sun.misc] in \
> start level 5 but no bundle is exporting these for that start level.   {noformat}
> It would be best if commons-io was not using sun.* packages, but if you must \
> reference those then perhaps those imported packages could be marked optional in \
> the manifest so the commons-io OSGi bundle will not fail to activate when those are \
> not available?



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic