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

Use nanoTime() for StopWatch #1164

Merged
merged 1 commit into from Jan 19, 2016
Merged

Use nanoTime() for StopWatch #1164

merged 1 commit into from Jan 19, 2016

Conversation

@electrum
Copy link
Contributor

@electrum electrum commented Jan 17, 2016

Measuring durations with currentTimeMillis() can produce incorrect
results, even negative values, if the system clock is adjusted.

Measuring durations with currentTimeMillis() can produce incorrect
results, even negative values, if the system clock is adjusted.
@axelfontaine axelfontaine added this to the Flyway 4.0 milestone Jan 19, 2016
axelfontaine added a commit that referenced this pull request Jan 19, 2016
Use nanoTime() for StopWatch
@axelfontaine axelfontaine merged commit b22a813 into flyway:master Jan 19, 2016
axelfontaine added a commit to flyway/flywaydb.org that referenced this pull request Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants