[Bug 235018] java/openjdk8: adding millisecond resolution to get/setLastModified breaks many apps

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 18 12:48:27 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235018

--- Comment #7 from Alex Dupre <ale at FreeBSD.org> ---
I'm sorry about your breakage, but you are confusing the java spec with a
specific implementation on a specific OS. Both Java 8 and Java 11 have the same
spec in relation to the getLastModifiedTime resolution, and there are already
implementations on different OSes / filesystems / JREs that returns the
correct/documented resolution, so every application that fails because it
blindly ignores the milliseconds is simply flawed, included tomcat if it
compares a millisecond value with a second value multiplied by 1000 instead of
the opposite.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-java mailing list