On Wed, 3 Sep 2025 08:53:22 GMT, Jaikiran Pai <[email protected]> wrote:

> However, i can't think of a simple way to avoid such situations.

Adding file size into the mix should be cheap while still improving the 
heuristics on file systems with course time granularity. This will also help 
cases where the last modified date is explicitly set by the system and cannot 
be trusted and on file systems which don't support last modification date at 
all and always return something like the epoch.

Adding file size would likely aviod this test failure, however it's maybe 
better to consider in a separate change.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27005#issuecomment-3248402569

Reply via email to