Explorar o código

enable native access for javafx.graphics during tests

references #3882
Armin Schrenk hai 4 días
pai
achega
0d4f373311
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pom.xml

+ 1 - 1
pom.xml

@@ -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>