Skip to content

A terminally deprecated method in sun.misc.Unsafe has been called #317

@lobodpav

Description

@lobodpav

When using Gradle 9.2.1 and JDK 24 Temurin, I saw these in the GitHub pipeline (running on ubuntu-latest) when executing gradle build.

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by io.zonky.test.db.shaded.com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/home/runner/.gradle/caches/modules-2/files-2.1/io.zonky.test/embedded-database-spring-test/2.7.1/df7143c645fe68caddd48bdc31461ffd2d6e3248/embedded-database-spring-test-2.7.1.jar)
WARNING: Please consider reporting this to the maintainers of class io.zonky.test.db.shaded.com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release

Hence, reporting it to the maintainer as instructed 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions