enable native access for javafx.graphics during tests

references #3882
This commit is contained in:
Armin Schrenk
2025-06-03 16:52:31 +02:00
parent 1da535e89c
commit 0d4f373311

View File

@@ -358,7 +358,7 @@
<consoleOutputReporter>
<disable>true</disable>
</consoleOutputReporter>
<argLine>@{surefire.jacoco.args} -javaagent:${org.mockito:mockito-core:jar}</argLine>
<argLine>@{surefire.jacoco.args} -javaagent:${org.mockito:mockito-core:jar} --enable-native-access=javafx.graphics</argLine>
<statelessTestsetInfoReporter
implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter">
</statelessTestsetInfoReporter>