mpetricek-corp opened a new pull request, #11729: URL: https://github.com/apache/maven/pull/11729
When used with latest Java LTS (i.e. 25 at the moment), maven 3.9.x outputs a warning: WARNING: A terminally deprecated method in sun.misc.Unsafe has been called WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/usr/share/maven/lib/guava.jar) WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release Properly fixing this in 3.9.x branch would mean upgrading Guava to newer version, which I understood is impossible due to dependency version collisions/limitations. This fix silences the warning, in similar manner to MNG-8248 - [x] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) -- 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]
