You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (Jira)" <ji...@apache.org> on 2024/12/20 09:39:00 UTC
[jira] [Created] (MNG-8455) WARNING deprecated method in sun.misc.Unsafe has been called
Karl Heinz Marbaise created MNG-8455:
----------------------------------------
Summary: 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
Fix For: 4.0.0
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}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)