Skip to content

Commit 9cea8b8

Browse files
authored
Merge pull request #603 from linghengqian/fix-junit
Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2
2 parents fae3e47 + a221227 commit 9cea8b8

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
@@ -60,7 +60,9 @@ public void onLoad(NativeImageConfiguration config) {
6060
"org.junit.platform.engine.UniqueIdFormat",
6161
"org.junit.platform.commons.util.ReflectionUtils",
6262
// https://github.com/graalvm/native-build-tools/issues/300
63-
"org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener"
63+
"org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener",
64+
// https://github.com/graalvm/native-build-tools/issues/602
65+
"org.junit.platform.commons.util.LruCache"
6466
);
6567

6668
if (getMajorJDKVersion() >= 21) {

0 commit comments

Comments
 (0)