jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Baesken, Matthias
matthias.baesken at sap.com
Tue Oct 10 16:23:11 UTC 2017
>> 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.
>
Hi Claes, to me it looks like the old jdk8 coding is not slower than the jdk9/10 coding .
Best regards, Matthias
More information about the core-libs-dev
mailing list