[ 
https://issues.apache.org/jira/browse/FELIX-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718137#action_12718137
 ] 

Richard S. Hall commented on FELIX-1210:
----------------------------------------

Looking a little closer, I guess it would be possible to do for getEntryPaths() 
without too much extra overhead, since this currently has to look through the 
entire JAR file anyway. We could run into issues with getEntry(), though, since 
getEntryPaths() will return directories entries that don't actually exist, so 
if those are passed into getEntry() it will fail. There will likely be some 
overhead to fix this issue, since it will require that we scan the JAR file to 
see if there are any entries with a matching directory.

> Allow jars with missing intermediate entries to be handled as if they were 
> present in Bundle.getEntryPaths
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1210
>                 URL: https://issues.apache.org/jira/browse/FELIX-1210
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: felix-1.8.0
>         Environment: generic
>            Reporter: Sahoo
>             Fix For: felix-2.0.0
>
>
> Refer to the entire discussion in users alias:
> http://markmail.org/message/hd6wp7c6agadr6al?q=how+to+iterate+entries+sahoo
> I think it will be good if Felix could tolerate the broken jar and return the 
> entries just like KF and Equinox does, otherwise there is no way to iterate 
> over all the entries of such a jar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to