[10] RFR: 8184940: JDK 9 rejects zip files where the modified day or month is 0

Martin Buchholz martinrb at google.com
Wed Jul 26 23:12:42 UTC 2017

Looks good.  This should go into jdk10 and later into a jdk9 update.  (Will
an Oracle engineer volunteer?)

I wonder where the "8" in the "Friday the 30th" date comes from.  Could
your California time zone be leaking into the test?   The DOS timestamp is
interpreted as local time while Instant.parse uses UTC?  Will the test
still pass if you run jtreg under TZ=EST?

On Wed, Jul 26, 2017 at 3:32 PM, Liam Miller-Cushon <cushon at google.com>

> Hello,
> This change fixes a regression in JDK 9 by allowing the java.util and
> zipfs zip implementations to read archives where the modified day or month
> is 0.
> bug: https://bugs.openjdk.java.net/browse/JDK-8184940
> webrev: http://cr.openjdk.java.net/~cushon/8184940/webrev.00/
> Thanks,
> Liam

More information about the core-libs-dev mailing list