JDK 9 rejects zip files where the modified day or month is 0 (JDK-8184940)

Martin Buchholz martinrb at google.com
Wed Jul 19 18:44:34 UTC 2017

I support this change and commented on the bug.  Too late for jdk9, but
should go into a jdk9 update.

On Wed, Jul 19, 2017 at 11:29 AM, Liam Miller-Cushon <cushon at google.com>

> Hello,
> While testing JDK 9 we noticed that zip archives containing zeroed-out
> dates are no longer accepted. These archives are arguably invalid, but some
> zip implementations produce them and there's a significant number of them
> in the wild. I filed a bug with more details:
> https://bugs.openjdk.java.net/browse/JDK-8184940
> Would you consider relaxing the JDK 9 behaviour to continue to handle
> zeroed-out dates, to avoid a breaking change and ensure it can read the
> same legacy zip and jar files as earlier releases?
> Thanks,
> Liam

More information about the core-libs-dev mailing list