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

Remove millisecond-precision file timestamp using native code #367

Merged
merged 1 commit into from
Feb 23, 2024

Commits on Feb 23, 2024

  1. Remove millisecond-precision file timestamp using native code

    **Problem**
    Ref sbt/sbt#7463
    Ref sbt/sbt#7455
    
    On some Linux sbt 1.9.8 fail with "java.lang.UnsatisfiedLinkError: Error looking up function 'stat'".
    This is due to our workaround another stat related-issue.
    The general issue is that we currently call native call to retrieve
    the last modified time because JDK 8 use to have a bug JDK-8177809
    that failed to get milliseconds.
    The bug was fixed in 2021 openjdk8u302.
    
    **Solution**
    We can drop the whole native code mechanism.
    eed3si9n committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    90c62a8 View commit details
    Browse the repository at this point in the history