commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <dev.jerem...@greenmail.ch>
Subject Re: [io] FileUtils.touch() on Windows
Date Thu, 15 Jul 2004 09:47:22 GMT
Just installed JDK 1.4.1_07 on my WinXP box. I can't reproduce your
problem.

On 15.07.2004 10:13:02 Stephen Colebourne wrote:
> I just ran the IO tests on JDK1.4.1 on Windows, and the FileUtils.touch()
> test failed.
> 
> There was 1 failure:
> 1)
> testTouch(org.apache.commons.io.FileUtilsTestCase)junit.framework.AssertionF
> ailedError: Set lastModified to 0. expected:<0> but was:<1089878988000>
>  at
> org.apache.commons.io.FileUtilsTestCase.testTouch(FileUtilsTestCase.java:464
> )
> 
> This uses  file.setLastModified(long)
> Has anyone else seen issues with file.setLastModified(long) on Windows ????


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message