I'm using Win98. It could be that. Basically calling the method seems to set the last modified time to now.
Stephen ----- Original Message ----- From: "Jeremias Maerki" <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]