Skip to content

Commit 2638b04

Browse files
authored
Fix build time initialization error with JUnit 5.9.0 (#308)
1 parent cb61940 commit 2638b04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/junit-platform-native/src/main/java/org/graalvm/junit/platform/config/platform/PlatformConfigProvider.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ public void onLoad(NativeImageConfiguration config) {
5858
"org.junit.platform.launcher.core.LauncherConfigurationParameters",
5959
"org.junit.platform.commons.logging.LoggerFactory",
6060
"org.junit.platform.engine.UniqueIdFormat",
61-
"org.junit.platform.commons.util.ReflectionUtils"
61+
"org.junit.platform.commons.util.ReflectionUtils",
62+
// https://github.com/graalvm/native-build-tools/issues/300
63+
"org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener"
6264
};
6365
for (String className : buildTimeInitializedClasses) {
6466
config.initializeAtBuildTime(className);

0 commit comments

Comments
 (0)