[Question] support Lambda parameter in remote method invoke #14341
-
Pre-check
Search before asking
Apache Dubbo ComponentJava SDK (apache/dubbo) Descriptionssupport Lambda parameter in remote method invoke. now it will cause exception like below: java.lang.UnsupportedOperationException: ObjectDeserializer[interface com.shzhida.business.privatepile.platcommon.config.MyConsumer] Related issuesNo response Are you willing to submit a pull request to fix on your own?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Lambda argument is a functional argument. Java runtime will create a new class for it, which it somehow like a annoymous inner class. Also, both hessian and jdk cannot serialize a class into a byte array, which needs decompile and compile a class. |
Beta Was this translation helpful? Give feedback.
Lambda argument is a functional argument. Java runtime will create a new class for it, which it somehow like a annoymous inner class. Also, both hessian and jdk cannot serialize a class into a byte array, which needs decompile and compile a class.