This message is printed by Jansi 2.4.1 when I run Maven 3.9.8 that uses it as one of its libraries.
Also if I just run java -jar jansi-2.4.1.jar in Git Bash of Git for Windows 2.45.2.windows.1 this is what I see in the lines it prints out:
MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED
isatty(STDOUT_FILENO): 0, System.out is *NOT* a terminal
width(STDOUT_FILENO): 0
MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED
isatty(STDERR_FILENO): 0, System.err is *NOT* a terminal
width(STDERR_FILENO): 0
MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED
MINGW support requires --add-opens java.base/java.lang=ALL-UNNAMED
As you can see it still can't recognize System.out and System.err as terminals and still can't find the terminal width.
Tried with Java 17 and 22 from Oracle.
The code that prints that "MINGW support requires" message was introduced in #264 as a fix of #233
I decided to rework it and made it right and simpler.
Please see my pull request that I will make shortly after opening this bug report.
This message is printed by Jansi 2.4.1 when I run Maven 3.9.8 that uses it as one of its libraries.
Also if I just run
java -jar jansi-2.4.1.jarin Git Bash of Git for Windows 2.45.2.windows.1 this is what I see in the lines it prints out:As you can see it still can't recognize
System.outandSystem.erras terminals and still can't find the terminal width.Tried with Java 17 and 22 from Oracle.
The code that prints that "MINGW support requires" message was introduced in #264 as a fix of #233
I decided to rework it and made it right and simpler.
Please see my pull request that I will make shortly after opening this bug report.