[
https://issues.apache.org/jira/browse/MNG-8399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz updated MNG-8399:
--------------------------------------
Fix Version/s: 3.9.10
> JDK 24+ issues warning about usage of sun.misc.Unsafe
> -----------------------------------------------------
>
> Key: MNG-8399
> URL: https://issues.apache.org/jira/browse/MNG-8399
> Project: Maven
> Issue Type: Improvement
> Affects Versions: 3.9.9
> Reporter: Marc Philipp
> Priority: Minor
> Fix For: 3.9.10
>
> Attachments: build.log
>
>
> When running a build with JDK 24-ea+26 or later, the following warning is
> issued by default:
> {noformat}
> 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:/home/marc/.asdf/installs/maven/3.9.9/lib/guava-33.2.1-jre.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 {noformat}
> The source of this can be further investigated using the
> {{--sun-misc-unsafe-memory-access=debug}} JVM argument from [JEP
> 498|https://openjdk.org/jeps/498#Identifying-uses-of-the-memory-access-methods-in-sun-misc-Unsafe]
> (see attached log file).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)