[ https://issues.apache.org/jira/browse/FELIX-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls resolved FELIX-6126. ------------------------------- Resolution: Fixed Fixed by creating bundle entry urls with a custom urlstreamhandler that moves the jar location part into the host field on setURL and back in toExternalForm. > Make jar url getPath work with plain path entires in Felix Connect > ------------------------------------------------------------------ > > Key: FELIX-6126 > URL: https://issues.apache.org/jira/browse/FELIX-6126 > Project: Felix > Issue Type: Improvement > Components: Connect > Affects Versions: connect-0.2.0 > Reporter: Karl Pauls > Assignee: Karl Pauls > Priority: Major > Fix For: connect-0.3.0 > > > Despite the urls given by the framework for bundle entries being supposed to > be opaque there is a lot of code out there that assumes it can just do a > getPath to get the entry name. That will currently fail with connect as a jar > url will report the full url as a path which breaks that code. > We should try to find a way to have the getPath work on those urls while not > breaking the url in general (by using a custom urlstreamhandler). -- This message was sent by Atlassian JIRA (v7.6.3#76005)