felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2560) Bundle URLs do not survive refreshes
Date Wed, 01 Sep 2010 15:18:53 GMT

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

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

See: https://glassfish.dev.java.net/issues/show_bug.cgi?id=13124

> Bundle URLs do not survive refreshes
> ------------------------------------
>
>                 Key: FELIX-2560
>                 URL: https://issues.apache.org/jira/browse/FELIX-2560
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.0.2
>            Reporter: Richard S. Hall
>            Priority: Minor
>             Fix For: framework-3.2.0
>
>
> Currently, bundle URLs are encoded like this:
>     bundle://<bundle-id>.<revision-id>:<class-path-idx>/path/to/resource
> This is convenient to access our internal data structures and survives toString() round-tripping,
but it does have the disadvantage that it doesn't survive a module being refreshed. The <revision-id>
of a module gets reset after a refresh, which makes existing URLs become invalid. If <revision-id>
were something like a <revision-name> that didn't get reset, then it would continue
to work.
> This is clearly a corner case and not super important, but we could investigate making
such a change. It may impact the bundle cache too. This is also not spec-mandated behavior,
so bundles shouldn't really depend on this behavior either.

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


Mime
View raw message