Skip to content

Commit

Permalink
Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2
Browse files Browse the repository at this point in the history
  • Loading branch information
linghengqian committed Jun 14, 2024
1 parent fb962b9 commit fe745c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=22.2.r11-grl
java=17.0.11-graal
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fe745c6

Please sign in to comment.