From 6c11ac9b334a6fec1f7e23958be59c2dd3bfcefe Mon Sep 17 00:00:00 2001 From: linghengqian Date: Thu, 13 Jun 2024 23:14:58 +0800 Subject: [PATCH] Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2 --- .../junit/platform/config/platform/PlatformConfigProvider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/junit-platform-native/src/main/java/org/graalvm/junit/platform/config/platform/PlatformConfigProvider.java b/common/junit-platform-native/src/main/java/org/graalvm/junit/platform/config/platform/PlatformConfigProvider.java index d9c03eb16..1cc0003fb 100644 --- a/common/junit-platform-native/src/main/java/org/graalvm/junit/platform/config/platform/PlatformConfigProvider.java +++ b/common/junit-platform-native/src/main/java/org/graalvm/junit/platform/config/platform/PlatformConfigProvider.java @@ -59,6 +59,7 @@ public void onLoad(NativeImageConfiguration config) { "org.junit.platform.commons.logging.LoggerFactory", "org.junit.platform.engine.UniqueIdFormat", "org.junit.platform.commons.util.ReflectionUtils", + "org.junit.platform.commons.util.LruCache", // https://github.com/graalvm/native-build-tools/issues/300 "org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener" );