[
https://issues.apache.org/jira/browse/KARAF-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-4943.
-----------------------------------------
Resolution: Not A Problem
> bundle:watch doesn't take timezone into account when comparing modification
> date
> --------------------------------------------------------------------------------
>
> Key: KARAF-4943
> URL: https://issues.apache.org/jira/browse/KARAF-4943
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 4.0.8
> Environment: OS X 10.12.2, Java 8
> Reporter: Erwin Hogeweg
> Priority: Major
>
> I noticed that bundle:watch kept restarting the same bundles over-and-over
> again. After some digging I believe this behavior is caused by
> BundleWatchImpl:163
> if (location != null && location.exists() && location.lastModified()
> > bundle.getLastModified()) {
> The location.lastModified() returns the timestamp in GMT, while the
> bundle.lastModified() returns the timestamp in local time.
> Verified with Felix and Equinox.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)