6652379: File.setLastModified fails on large files (lnx only)

Alan Bateman Alan.Bateman at Sun.COM
Thu Apr 10 14:07:19 UTC 2008

I need a reviewer for 6652379. A recent change in the Linux kernel means 
utimes(2) fails for invalid argument cases where it didn't fail 
previously. This exposes a long standing bug in java.io.File's 
setLastModified implementation when setting the last modified time on 
large files. The attached patch fixes the bug by mostly eliminating the 
crud left over from the addition of large file support in JDK1.2.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setLastModified.patch
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20080410/14921c4c/setLastModified.patch>

More information about the core-libs-dev mailing list