-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] 在Android SDK 34下JSON::toJSONString返回{} #1888
Labels
bug
Something isn't working
Comments
在WIndows JDK 21环境下是正常的 |
能帮忙调试看下这个值么? package com.alibaba.fastjson2.util;
public class JDKUtils {
public static final int JVM_VERSION;
} |
再次测试,问题仍然存在调试变量数值 JDKUtils.JVM_VERSION = -1
JDKUtils.ANDROID_SDK_INT = 34 构建配置
|
我目前没有这样的机器,需要晚点时间借机器来测试 |
理解,但是我也没有这样的机器,我只是在模拟器上测试app的时候发现的 |
请问模拟器是AS自带的, 还是mumu6、mumu12、雷电 |
@kraity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
简要描述您碰到的问题。
普通class正常
我定义了这样一个record
使用JSON::toJSONString后返回"{}"
环境信息
请填写以下信息:
重现步骤
如何操作可以重现该问题:
期待的正确结果
对您期望发生的结果进行清晰简洁的描述。
返回
{"deviceName":"2","username":"1"}
等结果相关日志输出
没有看到相关日志
附加信息
无
The text was updated successfully, but these errors were encountered: