Files
NowChessSystems/modules/official-bots
Janis Eccarius 1b30c3be39
Build & Test (NowChessSystems) TeamCity build finished
fix(official-bots): use ThreadLocalRandom in PolyglotBook for native image
A stored java.util.Random field is reachable from BotController's static
openingBook, so GraalVM baked it into the image heap and aborted the
native build (Random in image heap has a cached seed). Use
ThreadLocalRandom.current() at call time instead — no stored instance,
nothing in the image heap, still thread-safe.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 23:42:15 +02:00
..
2026-04-29 22:06:01 +02:00
2026-06-23 21:27:19 +00:00
2026-06-23 21:27:19 +00:00