dubbo-hessian-lite icon indicating copy to clipboard operation
dubbo-hessian-lite copied to clipboard

org.bson.types.ObjectId序列化以及反序列化问题

Open lucky-xin opened this issue 3 years ago • 18 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.0.4
  • Operating System version: MAC OS Monterey
  • Java version: jdk8

Steps to reproduce this issue

服务消费者传递org.bson.types.ObjectId到服务提供者ObjectId和消费着的ObjectId不一致

  1. 服务消费者设置一个ObjectId调用服务提供者
  2. 服务提供者拿到ObjectId然后打印
  3. 两个ObjectId不一致 服务提供者实现代码 image 服务消费者实现代码 image 测试单元代码 image bug复现项目代码链接

Pls. provide [GitHub address] to reproduce this issue.

Expected Behavior

期望消费者与提供者之间传递ObjectId时,序列化以及反序列化之后,ObjectId值不变

Actual Behavior

If there is an exception, please attach the exception trace:

Just put your stack trace here!

lucky-xin avatar Nov 08 '21 12:11 lucky-xin