sbt/notes/2.0.0
Brian Hotopp 7ec0dbc4eb [2.x] fix: Drop net.openhft farmNa, use MurmurHash3 in HashUtil
`HashUtil.farmHash` and `BootServerSocket.socketLocation` called
`LongHashFunction.farmNa()` from zero-allocation-hashing, whose impl
uses `sun.misc.Unsafe` and triggers the terminally-deprecated warning
on JDK 23+. Replaced with two `scala.util.hashing.MurmurHash3` calls
composed into a 64-bit Long. Matches @eed3si9n's suggestion in the
issue thread.

The `farmHash` method name and `"farm64-"` cache-string prefix are
kept for source compatibility. Existing on-disk caches keyed on
`farm64-<hex>` see a one-time cold rebuild after upgrade.

Fixes sbt/sbt#8073.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 08:40:11 -04:00
..
cache-version.md [2.x] feat: Add cacheVersion setting for global cache invalidation (#8993) 2026-04-01 11:23:10 +09:00
dependency-tree-dedup.md [2.x] fix: Collapse duplicate subtrees in dependency tree rendering (#9226) 2026-05-18 19:15:47 -04:00
internal-hash-murmur3.md [2.x] fix: Drop net.openhft farmNa, use MurmurHash3 in HashUtil 2026-05-28 08:40:11 -04:00
migration.md [sbt 2.x] remote cache (#7464) 2024-02-07 10:34:06 -05:00
remote-project-update.md [2.x] fix: addressing review comments 2026-03-13 09:34:32 +03:00