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 2022/01/08 18:29:00 UTC

[jira] [Commented] (SUREFIRE-1586) Surefire eating away Java 11 illegal reflective access warnings

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

Slawomir Jaranowski commented on SUREFIRE-1586:
-----------------------------------------------

Can you test with the latest version {{3.0.0-M5}}?

If still exists please provide a simple project to reproduce issue.

> Surefire eating away Java 11 illegal reflective access warnings
> ---------------------------------------------------------------
>
>                 Key: SUREFIRE-1586
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1586
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Andrea Aime
>            Priority: Major
>
> Java 11 is emitting a number of warnings about "Illegal Reflective Access", which, I believe, are written on the standard error.
> We upgraded surefire from 2.12.3, where the warnings were visible, to 2.22.1, and the warnings just disappeared from the build output, while they are still visible in target/surefire-reports/<date>.dumpstream files.
> Surefire is configured with <redirectTestOutputToFile>false</redirectTestOutputToFile>
> The last version of surefire that emits the warnings on console is 2.19.1



--
This message was sent by Atlassian Jira
(v8.20.1#820001)