Build the best - destroy the rest!

Showing posts with label Security. Show all posts
Showing posts with label Security. Show all posts

Saturday, 28 January 2023

Robocode 1.9.4.9

Version 1.9.4.9 (28-Jan-2023) Fixed "no security" and HiDPI

Bugfixes

  • NOSECURITY=true could cause a ClassNotFoundException for the robots.
  • Rendering issue on Windows when setting sun.java2d.ddoffscreen=false. Hence, this setting has been removed.
  • If the NOSECURITY or EXPERIMENTAL property has been set to true, a warning is now printed out to standard out.
  • Re-fix Bug-394 by actually supporting HiDPI. Thanks to Xor for this fix! :)
Download Robocode 1.9.4.9 from here

Tuesday, 29 November 2022

Robocode 1.9.4.8

Version 1.9.4.8 (29-Nov-2022) Reworked Disabling Security Manager

Bugfixes

  • Rendering issues on Windows using accelerated hardware, by setting this Java properties:
    • sun.java2d.d3d=false (turn off use of Direct3D)
    • sun.java2d.ddoffscreen=false (turn of Direct Draw off-screen)
    • sun.java2d.noddraw=true (no use of Direct Draw)
    • sun.java2d.opengl=True
  • Adding -source 1.5 to the ECJ compiler options to prevent "...only available if source level is 1.5 or greater" error when compiling with ECJ.

Improvements

  • Security Manager: When setting the NOSECURITY=true (e.g. via the -DNOSECURITY=true property in the java command-line), then internal security manager of Robocode is now totally disabled, and falling back on the default security manager used in Java.
    • This fixes issues with the class loader not being able to find classes resulting in ClassNotFoundExceptions, and other issues as well.
  • Updated built-in Eclipse Compiler for Java (ECJ) to version 3.26 (June 2021), which is the last version of ECJ capable to run on Java 8 (newer ECJ versions requires Java 11 as minimum).
Download Robocode 1.9.4.8 from here

Wednesday, 12 December 2007

Robocode: 1.5.1 fixes a security issue

- Fixed security flaw with the Event Dispatch Thread, where robots could use the SwingUtilities.invokeLater() for running any code they should like to.
- Thanks goes to John Cleland who reported this security flaw and provided some very good examples of robot that could do some nasty cheats.