Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275536

Add test to check that File::lastModified returns same time stamp as Files.getLastModifiedTime

    XMLWordPrintable

Details

    • b21

    Backports

      Description

        java.io.File::lastModified uses the function described in UnixFileSystem_md.c#226 [1] and java.nio.Files.getLastModifiedTime uses the function from UnixNativeDispatcher.c#L525 [2]. The data returned by the OS is processed differently in both functions. This test ensures that precision improvements are applied to both the functions at the same time.

        Attachments

          Issue Links

            Activity

              People

                cverghese Clive Verghese
                cverghese Clive Verghese
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: