[ 
https://issues.apache.org/jira/browse/SUREFIRE-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781706#comment-17781706
 ] 

Frank Ulbricht commented on SUREFIRE-2207:
------------------------------------------

Here is the problem and the solution: [Patching the module with Java 21 seems 
to fail · Issue #3528 · junit-team/junit5 
(github.com)|https://github.com/junit-team/junit5/issues/3528]

> Fails with modular project with Java 21
> ---------------------------------------
>
>                 Key: SUREFIRE-2207
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2207
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Frank Ulbricht
>            Priority: Major
>         Attachments: example_java21.zip
>
>
> In a modular Java 21 project Surefire fails to execute tests that require 
> access to the module. It seems, Surefire tries to patch the module but 
> somehow the module is not known by Java.
> I added a minimal example to demonstrate the problem. Just run "mvnw test" to 
> reproduce.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to