Skip to content
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]不支持 Vector 反序列化吗? #517

Closed
stephenlamy opened this issue Jun 29, 2022 · 3 comments
Closed

[BUG]不支持 Vector 反序列化吗? #517

stephenlamy opened this issue Jun 29, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@stephenlamy
Copy link

问题描述

反序列化时如果bean 有vector 就报错java.lang.UnsupportedOperationException, 换成List 就没事

环境信息

请填写以下信息:

  • OS信息: [win10]
  • JDK信息: [Oraclejdk 1.8.0_312]
  • 版本信息:[Fastjson2 2.0.8]

重现步骤

如何操作可以重现该问题:

  1. 使用 `JSON.parseObject(str, clazz) 方法
@stephenlamy stephenlamy added the bug Something isn't working label Jun 29, 2022
@wenshao wenshao added this to the 2.0.9 milestone Jun 29, 2022
@wenshao
Copy link
Member

wenshao commented Jun 29, 2022

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.9-SNAPSHOT/
问题已经修复,请用2.0.9-SNAPSHOT验证,2.0.9版本预计在7月10日发布

@stephenlamy
Copy link
Author

ok,多谢回复.

@wenshao
Copy link
Member

wenshao commented Jul 10, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.9
问题已修复,请用新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants