RFR JDK-8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"

Xueming Shen xueming.shen at oracle.com
Wed Jul 15 19:10:39 UTC 2015


Hi,

Please help review the change for JDK-8130914.

issue: https://bugs.openjdk.java.net/browse/JDK-8130914
webrev: http://cr.openjdk.java.net/~sherman/8130914/

This is a "regression" triggered by
https://bugs.openjdk.java.net/browse/JDK-8130914
http://cr.openjdk.java.net/~redestad/jdk9/8073497/webrev.6/

In which the change is to utilize a high 32-bit of the time value to store
< 2000 ms time piece. It appears the offending timestamp (year 2067...)
triggers the 32-bit "overflow" when converting java time to a 32-bit dos
time.

Thanks,
-Sherman



More information about the core-libs-dev mailing list