Should lastModified() from "bundle:" URLs return JarEntry.getTime() instead of
Bundle.getLastModified()
-------------------------------------------------------------------------------------------------------
Key: FELIX-659
URL: https://issues.apache.org/jira/browse/FELIX-659
Project: Felix
Issue Type: Improvement
Components: Framework, Specification compliance
Reporter: Richard S. Hall
Priority: Minor
Fix For: felix-1.2.0
Currently, we return Bundle.getLastModified() for the last modified time of
bundle resource URLs with the protocol "bundle:". It might even be better if we
returned JarEntry.getTime() to get the actual last modified time of the JAR
entry instead. However, this is somewhat complicated since we don't expose this
information to the upper layers. This would need to be included in our
abstraction, especially since bundles do not have to be JAR files. It is not
clear if this would have any significant overhead penalty, but I think not
since the JAR file would most likely already be open.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.