Skip to content

Support JDK25 in java_test_suite with junit5 runner #389

@evanloriot

Description

@evanloriot

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions