From a221227c23c35c84d0fb06a5db0eaaac7507b51e Mon Sep 17 00:00:00 2001 From: linghengqian Date: Thu, 13 Jun 2024 23:14:58 +0800 Subject: [PATCH 1/2] Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2 --- .../platform/config/platform/PlatformConfigProvider.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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..4b94023b1 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 @@ -60,7 +60,9 @@ public void onLoad(NativeImageConfiguration config) { "org.junit.platform.engine.UniqueIdFormat", "org.junit.platform.commons.util.ReflectionUtils", // https://github.com/graalvm/native-build-tools/issues/300 - "org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener" + "org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener", + // https://github.com/graalvm/native-build-tools/issues/602 + "org.junit.platform.commons.util.LruCache" ); if (getMajorJDKVersion() >= 21) { From 0a05df5ed491c118820881f5011abb24a6983928 Mon Sep 17 00:00:00 2001 From: David Nestorovic Date: Tue, 3 Sep 2024 15:13:03 +0200 Subject: [PATCH 2/2] Fix broken link for quick build mode --- docs/src/docs/asciidoc/maven-plugin.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/docs/asciidoc/maven-plugin.adoc b/docs/src/docs/asciidoc/maven-plugin.adoc index 67d6eaf89..46edea173 100644 --- a/docs/src/docs/asciidoc/maven-plugin.adoc +++ b/docs/src/docs/asciidoc/maven-plugin.adoc @@ -173,7 +173,7 @@ Build Configuration]. It is also possible to customize the plugin within a true ---- ``:: - If you want to build the image using https://blogs.oracle.com/java/post/graalvm-enterprise-221--faster-smarter-leaner[quick build mode], supply the following in the configuration of the plugin (alternatively set the `GRAALVM_QUICK_BUILD` environment variable to `true`): + If you want to build the image using https://www.graalvm.org/latest/reference-manual/native-image/overview/BuildOutput/#qbm-use-quick-build-mode-for-faster-builds[quick build mode], supply the following in the configuration of the plugin (alternatively set the `GRAALVM_QUICK_BUILD` environment variable to `true`): [source,xml] ---- true