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-03-21 14:40:00 +01:00
S
Description
No description provided
1.3 GiB
Languages
Scala 84.6%
Python 11.4%
Bru 2.8%
HTML 0.8%
Shell 0.2%
Other 0.1%