RFR: 8066644: Fix deprecation warnings in jdk.zipfs module

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Oct 27 13:40:37 UTC 2015


On 10/24/2015 11:54 PM, Claes Redestad wrote:
> webrev: http://cr.openjdk.java.net/~redestad/8066644/webrev.02
> bug: https://bugs.openjdk.java.net/browse/JDK-8066644

Looks good.

Is there really no way to use the new DateTime API, and ditch the
multiplication by 1000L here?

 116  return ldt.toEpochSecond(
 117    ZoneId.systemDefault().getRules().getOffset(ldt)) * 1000L;

Thanks,
-Aleksey





More information about the core-libs-dev mailing list