Running JDK25.0.4, these warnings appear in the console.
- 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
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