This error was reported here on the Discussion Forum by Jesper Pipping:
Description follows here:
Robocode seems to have a problem with Lambdas. When I try to run robocode with a robot that has a lambda passed as a method parameter, it fails with a ClassNotFoundException.
Here's a minimal case that shows the behaviour.
When this is on the classpath and Robocode is loaded, it will display an exception. When a battle is started, the robot will not be available.
If you comment out the line:
aLamdbdaMethod(o -> true);
...and rebuild, robocode will now start without exception and the robot is available to do battle.
Log in to post a comment.