Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16050

Handle difference in timestamp precision between java8 and java11 in LogFIle.java

    XMLWordPrintableJSON

    Details

      Description

      https://bugs.openjdk.java.net/browse/JDK-8177809 made File.lastModified include milliseconds while java8 always has them as 000.

      This causes problems in LogFile.java where we compare the timestamps with what we have in the logfile: LogFile.java. This means that we can throw errors when changing between java11 and 8

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson
              Reviewers:
              David Capwell
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: