Skip to content

Commit 6bd512d

Browse files
IO-734 The OSGi manifest now contains sun.* import packages (#239)
Make the sun.* references from BufferedFileChannelInputStream optional
1 parent fff6d79 commit 6bd512d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,12 @@ file comparators, endian transformation classes, and much more.
311311
org.apache.commons.io.output;
312312
org.apache.commons.io.*;version=${project.version};-noimport:=true
313313
</commons.osgi.export>
314+
<commons.osgi.import>
315+
<!-- IO-734 - Make the sun.* references from BufferedFileChannelInputStream optional -->
316+
sun.nio.ch;resolution:=optional,
317+
sun.misc;resolution:=optional,
318+
*
319+
</commons.osgi.import>
314320
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-io/</commons.scmPubUrl>
315321
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
316322
<checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>

0 commit comments

Comments
 (0)