You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2010/11/24 19:29:13 UTC
[jira] Updated: (FELIX-2710)
Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar") even when b.jar is
not a directory
[ https://issues.apache.org/jira/browse/FELIX-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sahoo updated FELIX-2710:
-------------------------
Attachment: patch.txt
A simple patch that addresses the issue.
> Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar") even when b.jar is not a directory
> ------------------------------------------------------------------------------------------
>
> 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
> 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.