You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/12 13:19:38 UTC

[GitHub] [dubbo] zrlw commented on issue #8742: protostuff loses the type when serializing the subtype

zrlw commented on issue #8742:
URL: https://github.com/apache/dubbo/issues/8742#issuecomment-917634924


   application和version都是URL存储在Global Param Cache Table里的参数,URL.valueOf构造的URLParam不会存储这些参数,只是通过一个BitSet指向DynamicParamTable对应的index。
   你这种场景需要对valueOf构建出来的URL再加一次toSerializableURL()转换:
   ```
   URL data = URL.valueOf("blah blah").toSerializableURL();
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org