Fix inconsistent behavior of java.nio.file.attribute.BasicFileAttributes.lastModifiedTime()
brian.burkhalter at oracle.com
Mon Nov 27 20:43:18 UTC 2017
On Nov 24, 2017, at 10:24 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> If you backport JDK-8177809 and build with any recent gcc then you should find that the results are consistent. If you really need to build gcc 4.1.x (2006) then the changes for JDK-8177809 would require #ifdef so that they aren't compiled in.
> I realize your interest is jdk8u but for the main line then we do need to re-examine the dusty #ifdef in UnixNativeDispatcher.c. I think Oracle builds of jDK 10 use gcc 4.9.2, I believe others are probably building with newer versions.
Seems like one or the other of the foregoing should be done, i.e., adding the same conditional compilation directive to the patch for JDK-8177809, or removing it altogether from UnixNativeDispatcher.c.
More information about the core-libs-dev