Skip to content

msgPack for Java have 4 warnings (called deprecated Unsafe method) #934

Description

@yuyongbo9527

My environment:
openjdk-25
springboot3
msgpack-core 0.9.10 (latest version)

Test example code: public static void basicUsage()

Console info (4 warnings) :

  1. WARNING: A terminally deprecated method in sun.misc.Unsafe has been called

  2. WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by org.msgpack.core.buffer.MessageBuffer (file:/C:/Users/test9527/.m2/repository/org/msgpack/msgpack-core/0.9.10/msgpack-core-0.9.10.jar)

  3. WARNING: Please consider reporting this to the maintainers of class org.msgpack.core.buffer.MessageBuffer

  4. WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release

1053223203@qq.com

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