-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Markus Karg opened MNG-8721 and commented
mvn -version results in the following warning on JDK 24:
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:/Program%20Files/apache-maven-3.9.9/lib/jansi-2.4.1.jar|file:///C:/Program%20Files/apache-maven-3.9.9/lib/jansi-2.4.1.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.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937){}
Maven home: C:\Program Files\apache-maven-3.9.9
Java version: 24.0.1, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-24.0.1.9-hotspot
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"
Affects: 3.9.9
Issue Links:
- MNG-8248 WARNING: A restricted method in java.lang.System has been called
("duplicates")