[BUG] JSONObjectTest3C.java failed on fastjson compatible
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
### 问题描述
[https://github.com/alibaba/fastjson2/blob/main/core/src/test/java/com/alibaba/fastjson2/v1issues/JSONObjectTest3C.java](url)
使用fastjson兼容无法通过,fastjson 1.x可以通过。
非标场景请考虑酌情修复吧
### 环境信息
- OS信息: [e.g.:CentOS 8.4.2105 4Core 3.10GHz 16 GB]
- JDK信息: [e.g.:Openjdk 1.8.0_312]
- 版本信息:[e.g.:Fastjson2 2.x.x]
### 相关日志输出
com.alibaba.fastjson2.JSONException: This method 'xx' is not a getter/getter/an illegal getter
Contributor guide
Research direction
Start by reading core/src/test/java/com/alibaba/fastjson2/v1issues/JSONObjectTest3C.java and run that test with fastjson compatibility enabled. Compare its behavior with fastjson 1.x and determine the expected handling for the reported non-getter exception; done means the compatibility test passes with the agreed 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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100