apache / apache/dubbo-spi-extensions
能否将org.apache.dubbo.common.serialize.kryo.CompatibleKryo继承改为de.javakaffee.kryoserializers.KryoReflectionFactorySupport以支持没有无参构造的类
- Dominant language
- Java
- Stars
- 206
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.7.x
* Operating System version: *
* Java version: *
### Steps to reproduce this issue
一些java自带的类,比如说`java.sql.Timestamp` or `java.net.InetSocketAddress`没有无参构造,反序列化就会报错
Contributor guide
Research direction
Start by locating org.apache.dubbo.common.serialize.kryo.CompatibleKryo and inspect its current superclass and deserialization path. Reproduce the failure with java.sql.Timestamp or java.net.InetSocketAddress, then verify that classes without no-argument constructors can be deserialized using de.javakaffee.kryoserializers.KryoReflectionFactorySupport.
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
- Mostly clear
- Newbie friendliness
- 45/100