Version 1.10.1 (09-Dec-2025)
Bugfix
- #71: Replaced
Thread.stop() call with Thread.interrupt() in the RobotThreadManager
- The
Thread.stop() call has been removed as of Java 21, so the old call to stop() would cause the rest of the
battle to be aborted; e.g., if you were running 100 rounds, but after the second a robot's thread needs to be
terminated, then that would abort the rest of the rounds.
By swapping in interrupt, the thread should still terminate, but gracefully.
- Thanks go to Jeremiah Blanchard for fixing this ❤️. Nice catch!
Changes
- Improved documentation and comments with all sample bots.
- Updated libraries (dependencies) to the latest versions (including Eclipse Compiler for Java and Codesize).
Download Robocode 1.10.1 from
here
No comments:
Post a Comment