RFR: 8066644: Fix deprecation warnings in jdk.zipfs module
peter.levart at gmail.com
Tue Oct 27 14:03:44 UTC 2015
Nice to see this getting in. Perhaps, as Aleksey notes, the conversion from
epoch seconds to millis could be performed with TimeUnit?
please review this patch which addresses deprecation warnings in jdk.zipfs
module while applying the same code improvements to similar code
Peter Levart brought this up and provided a patch for
java.util.zip.ZipUtils earlier on this list, but this got delayed for
various reasons. I've now included a fix to an integer overflow issue
since discovered in java.util.zip.ZipUtils and applied it to
jdk.nio.zipfs.ZipUtils as well for consistency.
I've updated and given themicrobenchmarks a spin, verifying that the
LocalDateTime version is still the fastest known approach.
More information about the core-libs-dev