Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes acquiring timestamp from a file with long path name on Windows #271

Merged
merged 2 commits into from
Sep 19, 2019
Merged

Fixes acquiring timestamp from a file with long path name on Windows #271

merged 2 commits into from
Sep 19, 2019

Commits on Sep 19, 2019

  1. Use JavaMilli for jdk >= 11

    In jdk >= 11, java returns millisecond precision timestamps if the file
    system supports it. It's better to avoid the jna if we can.
    eatkins committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    f27bf6a View commit details
    Browse the repository at this point in the history
  2. Fix last modified for long paths on windows

    It is necessary to prefix the file name passed into CreateFile with
    "\\?\" to allow file names with more than max_path (260) characters on
    windows:
    https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea..
    
    Fixes sbt/sbt#5098.
    eatkins committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    099aa4f View commit details
    Browse the repository at this point in the history