Git Product home page Git Product logo

Comments (7)

wenshao avatar wenshao commented on June 5, 2024 1

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT/
问题已修复,请帮忙用2.0.50-SNAPSHOT版本验证,2.0.50版本预计在5月12日前发布

最新版本的快照版本已经在多种aarch64架构的服务器上通过JDK8/11/17测试,包括:

阿里云倚天710
华为云鲲鹏服务
Amazon EC2 C7g (Arm-based AWS Graviton3)
Orange Pi5 Plus RK3588
Orange Pi Aipro (昇腾)

from fastjson2.

rowstop avatar rowstop commented on June 5, 2024

哪个版本?给个 testcase?

from fastjson2.

1195952223 avatar 1195952223 commented on June 5, 2024

2.0.45 参数就是上的json
但是这个不是每次都能复现 我本地没有出现过 在国产环境有时间会出现 上面的json就是出现时的前台传的信息
@RequestMapping("/saveData")
public void saveData(@requestbody Map param) throws Exception {
String s = JSONObject.from(param).toString();
System.out.println(s);
}

from fastjson2.

wenshao avatar wenshao commented on June 5, 2024

奇怪了,我是在阿里云的倚天710 ARM机器上测试过没问题的,鲲鹏不知道是什么架构,没有环境

from fastjson2.

1195952223 avatar 1195952223 commented on June 5, 2024

使用JSON.toJSONString(param, JSONWriter.Feature.FieldBased, JSONWriter.Feature.WriteNullStringAsEmpty);代替了 目前没有在报错了 在观察观察

from fastjson2.

luckytao avatar luckytao commented on June 5, 2024

#2502 看下我提交的这个bug,我也是鲲鹏服务器上,不是每次必现

from fastjson2.

wenshao avatar wenshao commented on June 5, 2024

@luckytao 这个问题在linux aarch64 jdk8下会偶发,我也没找到原因,现在的做法是JDK8就换一种实现。

from fastjson2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.