fury
fury copied to clipboard
Generated code fails to compile for class izumi.reflect.macrortti.LightTypeTag$ParsedLightTypeTag230Plus
Search before asking
- [X] I had searched in the issues and found no similar issues.
Version
0.8.0-SNAPSHOT https://github.com/apache/fury/commit/d8738f99963b69baec2bf1db7cc7c88ad3732748
Component(s)
Java, Other
Minimal reproduce step
https://github.com/yoohaemin/fury-bugreport/commit/9b074e61f9d612034437514dea1916224275a7e7
What did you expect to see?
- Generated code succeed compiling
- Fury uses the registered class to serialize/deserialize
What did you see instead?
- Code is generated, which probably means registered class is not used (?)
- Generated code fails to compile.
Anything Else?
No response
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
related: https://github.com/apache/fury/issues/1806#issuecomment-2295215163
I understand the registered class problem now, it uses the serialization from the most concrete class, and does not look for superclass.
The generated code problem still exists, but is now low priority because I know how to register a custom serializer.
@yoohaemin I can't reproduce your issue, could you try latest snapshot jar instead?