Closed linghengqian closed 2 months ago
@linghengqian will you provide a PR for this issue? We need to add org.junit.platform.commons.util.LruCache
to the list of classes initialized at build time for JUnit 5. This class was added in the latest versions of JUnit and therefore we don't support it yet. Here is an example of PR that modifies the list:
https://github.com/graalvm/native-build-tools/pull/573/files
Thank you very much for reporting this issue.
@linghengqian will you provide a PR for this issue? We need to add
org.junit.platform.commons.util.LruCache
to the list of classes initialized at build time for JUnit 5. This class was added in the latest versions of JUnit and therefore we don't support it yet. Here is an example of PR that modifies the list:https://github.com/graalvm/native-build-tools/pull/573/files
Thank you very much for reporting this issue.
How about I just close #603? I don't know how to fix the problem that happened in the master branch.
Before reporting
Describe the bug A clear and concise description of what the bug is. Make sure that you have read the documentation and that you are using the latest plugin version.
To Reproduce
When possible, provide a link to a repository which reproduces the issue, with instructions on how to use. The reproducer must make use of either the Maven or Gradle plugin.
Steps to reproduce the behavior:
SDKMAN!
installed.git clone git@github.com:linghengqian/junit-v5110-test.git cd ./junit-v5110-test/ ./mvnw -PnativeTestInJunit -T1C -e clean test
System Info (please complete the following information):
Windows
]Ubuntu 22.04.4
22.0 CE
]24.0.1 CE
17
]22
native-gradle-plugin:0.9.10
]native-maven-plugin:0.10.2
Additional context Add any other context about the problem here.