chaokunyang commented on issue #1945:
URL: https://github.com/apache/fury/issues/1945#issuecomment-2488426090
Here is the code to work around ReplaceResolve:
```java
furyTest = Fury.builder()
.withLanguage(Language.JAVA).requireClassRegistration(false)
.withRefTracking(true)
.build();
furyTest.getClassResolver().setSerializerFactory((f, c) -> {
if (Message.class.isAssignableFrom(c)) {
return Serializers.newSerializer(f, c,
f.getClassResolver().getObjectSerializerClass(c, x -> {}));
}
return null;
});
```
with this code, you can get the above error.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]