Skip to content

[MNG-8169] MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED #9996

@jira-importer

Description

@jira-importer

Rostislav Krasny opened MNG-8169 and commented

Running any Maven command on MINGW64 terminal of Git for Windows and probably in several other UNIX-mimicking environments prints out the "MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED" error message (can be printed several times during one Maven command) and can't get the right width of the terminal.

This bug came from the Jansi dependency after it was upgraded from 2.4.0 to 2.4.1 version. For more information please see my bug report and my pull request in the Jansi project's GitHub:

fusesource/jansi#290

fusesource/jansi#291

Since many developers use Maven on Windows together with Git for Windows and on its Git Bash environment based on MINGW this bug is important, in my opinion.


Affects: 3.9.7, 3.9.8

Issue Links:

  • MNG-8248 WARNING: A restricted method in java.lang.System has been called

  • MNG-8715 Bump org.fusesource.jansi:jansi from 2.4.1 to 2.4.2

Remote Links:

Metadata

Metadata

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions