When you try to use junit5 test runner with JDK25, it throws the following exception on startup:
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //path/to/my:NameTest
-----------------------------------------------------------------------------
Error occurred during initialization of VM
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
at java.lang.System.initPhase3(java.base@25/System.java:1969)