You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2023/11/01 22:16:00 UTC

[jira] [Assigned] (SUREFIRE-2207) Fails with modular project with Java 21

     [ https://issues.apache.org/jira/browse/SUREFIRE-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Slawomir Jaranowski reassigned SUREFIRE-2207:
---------------------------------------------

    Assignee: Slawomir Jaranowski

> 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
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: version-next
>
>         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)