Bukama commented on issue #11387: URL: https://github.com/apache/maven/issues/11387#issuecomment-3506341081
The warning also pops up when building Maven (4.0.x branch with current RC5) itself > [INFO] Running org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutorTest [WARNING] [stderr] WARNING: A restricted method in java.lang.System has been called [WARNING] [stderr] WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/D:/Github/Maven/maven/impl/maven-executor/target/dependency/apache-maven-3.9.11/lib/jansi-2.4.2.jar) [WARNING] [stderr] WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module [WARNING] [stderr] WARNING: Restricted methods will be blocked in a future release unless native access is enabled [WARNING] [stderr] [WARNING] [stderr] WARNING: A terminally deprecated method in sun.misc.Unsafe has been called [WARNING] [stderr] WARNING: sun.misc.Unsafe::staticFieldBase has been called by com.google.inject.internal.aop.HiddenClassDefiner (file:/D:/Github/Maven/maven/impl/maven-executor/target/dependency/apache-maven-3.9.11/lib/guice-5.1.0-classes.jar) [WARNING] [stderr] WARNING: Please consider reporting this to the maintainers of class com.google.inject.internal.aop.HiddenClassDefiner [WARNING] [stderr] WARNING: sun.misc.Unsafe::staticFieldBase will be removed in a future release -- 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]
