Hi, It looks like if the file is still open for reading, then changing the last modified date doesn't work for Windows XP. I could verify this using the test case http://pastebin.com/HhKcCHXF
There is a workaround: open the file for writing, read one byte, seek to the beginning, write the same byte, close the file. This is ugly, I hope there is a better solution. In any case, it's a bug. I created a new issue: https://issues.apache.org/jira/browse/JCR-2872 Regards, Thomas
