jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59

Claes Redestad claes.redestad at oracle.com
Mon Oct 9 13:40:28 UTC 2017


On 2017-10-09 11:52, Langer, Christoph wrote:
> Hi Matthias,
>
> I have closed your bug JDK-8188901 in favor of the bug that Sherman had opened before: https://bugs.openjdk.java.net/browse/JDK-8188869.
>
> Please post a webrev for the change as suggested by Claes.

Sounds good to me.

In addition to being a cleanup, the move to use java.time did provide a 
speedup, however, which
might become significant when loading lots of jar files.

I've not found my notes on how big this speed-up was (I recall ~3x in 
micros), but if anyone has time
to fix (and test) the overflows without reverting to java.util.Date then 
we might be able to keep most
of that gain intact.  This can of course be considered a follow-up, or 
ignored.

/Claes


More information about the core-libs-dev mailing list