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

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

This is only an issue when installing a bundle as an exploded directory, which 
is a non-spec behavior. Otherwise, yeah, it looks like a bug. Thanks.

> [Framework] For exploded bundles 
> Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar")
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2710
>                 URL: https://issues.apache.org/jira/browse/FELIX-2710
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: framework-3.0.6
>            Reporter: Sahoo
>            Priority: Minor
>             Fix For: framework-3.2.0
>
>         Attachments: patch.txt
>
>
> I find it a bit surprising that 
> Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar") even when b.jar is 
> not a directory. Shouldn't getEntry("a/b.jar/") return null if b.jar is not 
> directory? After all, getEntryPaths("a/") returns a/b.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