You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/12/22 17:37:00 UTC
[jira] Resolved: (FELIX-2710) [Framework] For exploded bundles
Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar")
[ https://issues.apache.org/jira/browse/FELIX-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-2710.
------------------------------------
Resolution: Fixed
Assignee: Richard S. Hall
Sahoo, I have applied your patch, but modified it to take into account security. Please close if you are satisfied, 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
> Assignee: Richard S. Hall
> Priority: Minor
> Fix For: framework-3.0.7
>
> 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.