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] Updated: (FELIX-2560) Bundle URLs do not survive refreshes
Date Wed, 03 Nov 2010 20:40:24 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard S. Hall updated FELIX-2560:
-----------------------------------

    Fix Version/s:     (was: framework-3.2.0)
                   framework-3.0.6

> 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
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: framework-3.0.6
>
>         Attachments: FELIX-2560.txt
>
>
> 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