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

File.lastModified should specify accuracy as well as resolution

    Details

    • Subcomponent:
    • Resolved In Build:
      b171
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        java.io.File says
        A long value representing the time the file was last modified, measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970),

        But just because the *units* are milliseconds, doesn't mean that the returned value is necessarily accurate down to the millisecond.

        The File API should clarify the distinction and give the expected accuracy for common platforms.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bpb Brian Burkhalter
                  Reporter:
                  jjg Jonathan Gibbons
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: