-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discover tests with another Java process JUnitPlatformFeature discovers tests before analysis. The discovery procsee will initialize some of the test classes when @RunWith, @parameterized annotations are used. As they are loaded by the ImageClassloader, the initialization may cause eager class initialization error during native image building time. This commit lauches the test discovery in a another Java process in the JUnitPlatformFeature to make sure the test class initialization at discovery time won't affect the native image class initialization policy.
- Loading branch information
Showing
6 changed files
with
311 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.