Bug (old?) in ZipEntry?
Ranjit Mathew
rmathew@gmail.com
Tue Sep 13 07:31:00 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Egholm Nielsen wrote:
>> I'm seing quite an odd thing (read: maybe a bug) with the
> modification-dates returned from ZipEntry.
> This may be an old bug fixed in a gcj version newer than my 3.4.3.
>> Nevertheless, I have the simple source given below that just enumerates
> each entry in a zip file and prints out the modification date.
I tried testing this with a simple WinZip archive and a JAR
(both containing the same file) and the current mainline.
Both JDK 1.5.0.03 and GCJ produce the same timestamp for
both the archives, except that GCJ chooses to call my
timezone "GMT+5:30" while the JDK calls it "IST".
Hope this helps,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDJm62Yb1hx2wRS48RAkR2AKCgv8AYf/9WPGcNgoSPX58oOp08mgCgmGVD
kv0WuOmHcDnEsN/4K2sBEhY=
=HolV
-----END PGP SIGNATURE-----
More information about the Java
mailing list