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

Karl Pauls commented on FELIX-582:
----------------------------------

I agree that this would make sense and in fact we already override the method 
but we would need to change some things to get this to work. What lastmodified 
are you talking about, 

a) the one of the cached bundle file on disk 
b) the one of the actual JarEntry.getTime()
c) a combination of the two?




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

Reply via email to