You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExpiringMap compares nanosecond times as time <= now. Both sides are from direct reads of System.nanoTime(). Unfortunately this violates the contract of that method,
ExpiringMap compares nanosecond times as
time <= now
. Both sides are from direct reads ofSystem.nanoTime()
. Unfortunately this violates the contract of that method,This behavior is not intuitive and causes these simple oversights. However, failing to abide by that directive can lead to incorrect conclusions.
The text was updated successfully, but these errors were encountered: