alibaba / alibaba/fastjson2

[BUG]这个在问题要等兼容jdk25后才能解决么

Open
#3,897 1 comment 2 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:/Users/xxxx/.m2/repository/com/alibaba/fastjson2/fastjson2/2.0.59/fastjson2-2.0.59.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 reproducing the warning with fastjson2 2.0.59 and inspect com.alibaba.fastjson2.util.JDKUtils, which is named in the warning. Check the behavior against the relevant JDK version and determine whether the Unsafe::arrayBaseOffset call can be replaced or requires JDK 25 compatibility; done means the warning is addressed or the supported-version requirement is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.