Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 69384 invoked from network); 15 Jul 2004 09:04:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jul 2004 09:04:19 -0000 Received: (qmail 53264 invoked by uid 500); 15 Jul 2004 09:04:13 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 53164 invoked by uid 500); 15 Jul 2004 09:04:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 53128 invoked by uid 99); 15 Jul 2004 09:04:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [81.221.250.51] (HELO mail02.agrinet.ch) (81.221.250.51) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 15 Jul 2004 02:04:07 -0700 Received: from [192.168.1.33] (81.6.19.95) by mail02.agrinet.ch (7.0.024) (authenticated as dev.jeremias@greenmail.ch) id 40F3A76D0002D458 for commons-dev@jakarta.apache.org; Thu, 15 Jul 2004 11:03:56 +0200 Date: Thu, 15 Jul 2004 11:03:55 +0200 From: Jeremias Maerki To: "Jakarta Commons Developers List" Subject: Re: [io] FileUtils.touch() on Windows In-Reply-To: <003201c46a43$8cdc08c0$d4409a51@oemcomputer> References: <003201c46a43$8cdc08c0$d4409a51@oemcomputer> Message-Id: <20040715105007.B56C.DEV.JEREMIAS@greenmail.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.04 [en] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N No, it works fine here on WinXP under JDK 1.4.2_05. But I've just realized that the the last change to touch() broke JDK 1.3 compatibility. I'm looking at it now. 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