[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-07-06 Thread Luc Boudreau (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17375922#comment-17375922
 ] 

Luc Boudreau commented on VFS-806:
--

I meant 2.7 indeed. We tried to bump our maintenance release to the current 
version we use on the mainline (2.7 and we get the milliseconds. I didn't 
believe it at first because of your earlier comment, but since it fixes it for 
us, we're calling it done on our end. :)

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0, 2.8.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Luc Boudreau
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-07-06 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17375919#comment-17375919
 ] 

Gary D. Gregory commented on VFS-806:
-

Double checking FTR: Do you mean an update to 2.7.0 or 2.8.0?

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0, 2.8.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Luc Boudreau
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-07-06 Thread Luc Boudreau (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17375913#comment-17375913
 ] 

Luc Boudreau commented on VFS-806:
--

[~ggregory] - We have confirmed that an upgrade to 2.7 seems to fix this issue 
for us. We can close this. Thanks for your time, and have a great day.

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0, 2.8.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Luc Boudreau
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-07-05 Thread Luc Boudreau (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17374983#comment-17374983
 ] 

Luc Boudreau commented on VFS-806:
--

[~ggregory] - We'll get someone to test this again and confirm some time this 
week with y'all. Thanks.

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0, 2.8.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Luc Boudreau
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-07-05 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17374977#comment-17374977
 ] 

Gary D. Gregory commented on VFS-806:
-

[~lucboudreau]
 May you please double check that you are using 2.8.0? This exact bug was fixed 
(actually a JRE bug) in 2.8.0 here: 
[https://github.com/apache/commons-vfs/blob/0e65f7332251163a4bafc63db3ccf3e2e1f1e6b0/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java#L114]

See the inline comments for a reference to the JRE bug.

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0, 2.8.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Luc Boudreau
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-07-05 Thread Luc Boudreau (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17374837#comment-17374837
 ] 

Luc Boudreau commented on VFS-806:
--

[~ggregory] - Good day sir. Gary Kuntsevich does not work for us anymore, but 
we'd like to make sure this does not fall between the cracks. Is there a 
possibility to change the reporter to my account please?

To answer your question, I believe this was the local file provider.

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-15 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363695#comment-17363695
 ] 

Gary D. Gregory commented on VFS-806:
-

What provider?

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-15 Thread Gary Kuntsevich (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363691#comment-17363691
 ] 

Gary Kuntsevich commented on VFS-806:
-

Here is how it is used in the code:

org.apache.commons.vfs2.FileContent.getLastModifiedTime()

It returns: 2018/05/04 12:34:56.000

 

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-15 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363654#comment-17363654
 ] 

Gary D. Gregory commented on VFS-806:
-

What VFS provider do you use? Also, may you please try git master. Note the fix 
is in already here for the lical fe provider 
[https://github.com/apache/commons-vfs/blob/9d6f24c4a139e81325c884822b6081c2035f2f07/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java#L118]

 

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-14 Thread Gary Kuntsevich (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17362920#comment-17362920
 ] 

Gary Kuntsevich commented on VFS-806:
-

Tried version 2.8.0 - got the same result:
lastmodifiedtime = 2021/06/14 08:13:01.*000*

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-10 Thread Gary Kuntsevich (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17361035#comment-17361035
 ] 

Gary Kuntsevich commented on VFS-806:
-

OK, I will try. Thank you

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-09 Thread Gary D. Gregory (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17360458#comment-17360458
 ] 

Gary D. Gregory commented on VFS-806:
-

Please try 2.8.0 as it might help.

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-09 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17360365#comment-17360365
 ] 

Michael Osipov commented on VFS-806:


The File class does not resolve to milliseconds in some constellations while 
Files does.

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-09 Thread Gary Kuntsevich (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17360259#comment-17360259
 ] 

Gary Kuntsevich commented on VFS-806:
-

It is:

java version "1.8.0_211"

Java(TM) SE Runtime Environment (build 1.8.0_211-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (VFS-806) org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing milliseconds (always ends in 000)

2021-06-09 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17359818#comment-17359818
 ] 

Michael Osipov commented on VFS-806:


Which Java version?

> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000)
> -
>
> Key: VFS-806
> URL: https://issues.apache.org/jira/browse/VFS-806
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.7.0
> Environment: Linux: Ubuntu 16.04.5 LTS
>Reporter: Gary Kuntsevich
>Priority: Major
>
> org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing 
> milliseconds (always ends in 000) when running on Linux: Ubuntu 16.04.5 LTS



--
This message was sent by Atlassian Jira
(v8.3.4#803005)