-
Enhancement
-
Resolution: Fixed
-
P4
-
6
-
None
-
b94
-
generic
-
generic
-
Verified
It is a source of repeated confusion that the timestamps stored in Zip files
are the ancient DOS timestamps with only 2 (!) seconds granularity.
Modern systems have timestamp granularity of seconds or milliseconds.
It is disturbing that archiving/unarchiving files in zip files causes the
timestamp to be rounded to the nearest 2 seconds, causing (mild) loss of user data,
and breaking makefiles and other programs relying on precise timestamps.
There are extensions to the zip file format supporting specific file systems
and their more precise timestamps. It would be good for Java to support these
extensions, even though it would mean that zip files generated on Unix systems would
look a little different from zip files generated on Windows systems.
are the ancient DOS timestamps with only 2 (!) seconds granularity.
Modern systems have timestamp granularity of seconds or milliseconds.
It is disturbing that archiving/unarchiving files in zip files causes the
timestamp to be rounded to the nearest 2 seconds, causing (mild) loss of user data,
and breaking makefiles and other programs relying on precise timestamps.
There are extensions to the zip file format supporting specific file systems
and their more precise timestamps. It would be good for Java to support these
extensions, even though it would mean that zip files generated on Unix systems would
look a little different from zip files generated on Windows systems.
- relates to
-
JDK-6302424 ZipEntry.getTime() returns modified time of the ZipFile, not the entry.
-
- Closed
-