Skip to content

Commit

Permalink
TMP: Attempt to fix the test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Apr 6, 2023
1 parent 26c0be6 commit ad913d0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ public long getLastModifiedTime() throws IOException {
@Override
public long getLastChangeTime() {
// This is the best we can do with Java NIO...
return attributes.lastModifiedTime().toMillis();
return Math.max(attributes.lastModifiedTime().toMillis(),
attributes.creationTime().toMillis());
}

@Override
Expand Down

0 comments on commit ad913d0

Please sign in to comment.