[ https://issues.apache.org/jira/browse/KARAF-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471566#comment-16471566 ]
Terrien Jean-Yves commented on KARAF-5740: ------------------------------------------ hi, No, I did not install it. I checked the presence of the class before to know if I had to install it. I think we should improve the classes command to know which bundle contains the class classes | grep IOUtils returns the presence or not of the class IOUtils in a bundle. but we do not know which one. If we could know which one would help to see it clearly. there it seems that a bundle has the class. but the package is not exported. otherwise the import would not make a mistake. {{we could, for example, add an option to classes command to know if a class exists and is accessible}} {{| bundleId | class name | exported |}} {{+-----------+---------------------------------------+-----------+}} {{| 45 | org/apache/commons/io/IOUtils.class | true |}} I reviewed my code and this import was not very useful in java8 so it's not a problem for me anymore. > smx7.0.1 karaf 4.09 fail to import package but class is présent > --------------------------------------------------------------- > > Key: KARAF-5740 > URL: https://issues.apache.org/jira/browse/KARAF-5740 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.0.9 > Reporter: Terrien Jean-Yves > Assignee: Jean-Baptiste Onofré > Priority: Major > > >classes |grep IOUtils > org/apache/commons/io/IOUtils.class > >exports |grep org.apache.commons.io > EMPTY > > My bundle : > Import-Package = > org.apache.commons.io;version="[2.4,3)" > import failed > -- This message was sent by Atlassian JIRA (v7.6.3#76005)