[
https://issues.apache.org/jira/browse/HBASE-29543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-29543:
----------------------------------
Affects Version/s: (was: 2.5.0)
> TestFileChangeWatcher fails with Java 8 due to file modification time
> granularity issue
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-29543
> URL: https://issues.apache.org/jira/browse/HBASE-29543
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.6.0, 2.7.0
> Reporter: Peter Somogyi
> Assignee: Peter Somogyi
> Priority: Minor
> Labels: pull-request-available
>
> Tests comparing file modification times fail on JDK8 because
> Files.readAttributes() returns modification times with only second-level
> granularity, not millisecond precision as seen in JDK11 and newer. This
> causes equality or comparison checks on file times to break when the actual
> times differ by milliseconds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)