felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alin Dreghiciu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-582) felix URLs do not return a proper value for lastModified()
Date Sat, 02 Aug 2008 13:05:44 GMT

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

Alin Dreghiciu commented on FELIX-582:
--------------------------------------

I did a small check and just for info:
Equinox returns the last modified of that particular resource not the bundle last modified
Knopflerfish returns the bundle last modified (as the attached patch)

> felix URLs do not return a proper value for lastModified()
> ----------------------------------------------------------
>
>                 Key: FELIX-582
>                 URL: https://issues.apache.org/jira/browse/FELIX-582
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.0.4
>            Reporter: Costin Leau
>             Fix For: felix-1.2.0
>
>         Attachments: FELIX-582.patch
>
>
> URLs loaded through Felix, pointing to resources inside OSGi space rely on the default
lastModified() implementation which always returns 0. Since the platform knows about the originating
bundle it can use the bundle lastmodified instead of 0.
> Other URL/URLConnection methods can be potentially implemented instead of relying on
the defaults (such as file type for example).

-- 
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