gian1200 opened a new issue, #11900: URL: https://github.com/apache/maven/issues/11900
### Affected version 3.9.14 ### Bug description Following https://github.com/apache/maven/issues/11289. I'm getting the warning with Maven wrapper - OS: Windows - JDK: 25 - Wrapper: `mvn wrapper:wrapper -Dtype=source` It only fails when using the wrapper. ### Maven ```shell > mvn -v Apache Maven 3.9.14 (996c630dbc656c76214ce58821dcc58be960875b) Maven home: C:\Program Files\Maven\apache-maven-3.9.14 Java version: 25.0.2, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-25.0.2.10-hotspot Default locale: en_US, platform encoding: UTF-8 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows" ``` ### Maven Wrapper ```shell > ./mvnw -v WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/C:/Users/<redacted>/.m2/wrapper/dists/apache-maven-3.9.14-bin/5d54584a/apache-maven-3.9.14/lib/jansi-2.4.2.jar) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module WARNING: Restricted methods will be blocked in a future release unless native access is enabled Apache Maven 3.9.14 (996c630dbc656c76214ce58821dcc58be960875b) Maven home: C:\Users\<redacted>\.m2\wrapper\dists\apache-maven-3.9.14-bin\5d54584a\apache-maven-3.9.14 Java version: 25.0.2, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-25.0.2.10-hotspot Default locale: en_US, platform encoding: UTF-8 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
