[ https://issues.apache.org/jira/browse/FELIX-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-582. ----------------------------------- Resolution: Fixed Assignee: Richard S. Hall I have applied this patch to use Bundle.getLastModified(), so I think it can be resolved. Costin, please close this issue if you are satisfied. I will start another issue to track whether we should use JarEntry.getTime() or not, since this is slightly more complicated, since we don't expose the JarEntry in any way. > 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 > Assignee: Richard S. Hall > 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.