mirror of https://github.com/sbt/sbt.git
`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> |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||