commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject [compress] JDK 9 b64 - interpretation of TimeZone in ZipEntry#getTime has changed?
Date Fri, 29 May 2015 18:07:39 GMT

I'm not sure whether I should raise a bug or this is an intended change.

Apart from the bunzip2 problem - more on that in a separate mail - one
other Unit test fails in Commons Compress.  In our test we use a method
to "fix" the time read from a ZIP entry with the following comment:

     * InfoZIP seems to adjust the time stored inside the LFH and CD
     * to GMT when writing ZIPs while thinks it
     * was in local time.
     * The archive read in {@link #testSampleFile} has been created
     * with GMT-8 so we need to adjust for the difference.

This no longer seems to be true and ZipEntry#getTime now also assumes
time to be in UTC.  Has this change been made intentionally?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message