stliu/hibernate-core — comment on commit 1b5d98ea900d7b34b20a24900224d5c056505a66
File: hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseRegion.java line 40
By gbadner:

I mentioned this needed to be changed in the email I sent to hibernate-dev.:

"Since Timestamper.ONE_MS is 4095, the product is 2457000000, which overflows the int return value, resulting in a negative timeout being returned. Because of this, the update timestamp ends up being before the cached query result timestamp. Hibernate assumes (erroneously) that the cached query results are up-to-date."