[ 
https://issues.apache.org/jira/browse/MNG-8455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet closed MNG-8455.
--------------------------------
    Fix Version/s:     (was: 4.0.0)
         Assignee: Guillaume Nodet
       Resolution: Won't Fix

> WARNING deprecated method in sun.misc.Unsafe has been called
> ------------------------------------------------------------
>
>                 Key: MNG-8455
>                 URL: https://issues.apache.org/jira/browse/MNG-8455
>             Project: Maven
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 4.0.0-rc-2
>         Environment: $> mvn --version
> Apache Maven 4.0.0-rc-2 (273314404f85ec3c089e295d8b4e0cb18c287cf5)
> Maven home: /Users/khm/tools/apache-maven-4.0.0-rc-2
> Java version: 24-ea, vendor: Oracle Corporation, runtime: 
> /Users/khm/.sdkman/candidates/java/24.ea.28-open
> Default locale: en_DE, platform encoding: UTF-8
> OS name: "mac os x", version: "14.6.1", arch: "aarch64", family: "mac"
>            Reporter: Karl Heinz Marbaise
>            Assignee: Guillaume Nodet
>            Priority: Minor
>
> Currently running a build under JDK 24.ea.28 will emit the following WARNING:
> {code}
> $> mvn verify
> 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:/Users/khm/tools/maven/lib/guava-33.3.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
> [INFO] 
> {code}
> I also tested with the built from current master of Maven Core which is using 
> {{guava-33.4.0-jre.ja}} which emits the same WARNING. 
> Tracking on Github: 
> * https://github.com/google/guava/issues/6806
> * https://github.com/google/guava/pull/7555



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to