alibaba / alibaba/fastjson2

Running JDK25.0.4, these warnings appear in the console.

Open
#7,720 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

`WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by com.alibaba.fastjson2.util.JDKUtils (file:/D:/apache/apache-maven/repository/com/alibaba/fastjson2/fastjson2/2.0.63/fastjson2-2.0.63.jar)
WARNING: Please consider reporting this to the maintainers of class com.alibaba.fastjson2.util.JDKUtils
WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release`

Contributor guide

Open the contributing guide

Research direction

Start by inspecting com.alibaba.fastjson2.util.JDKUtils in fastjson2-2.0.63.jar and reproduce the warning on JDK 25.0.4. Trace the use of sun.misc.Unsafe::arrayBaseOffset and run the relevant project tests; done means the warning is addressed without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.