mchernyakov commented on code in PR #2904:
URL: https://github.com/apache/fory/pull/2904#discussion_r2513811706
##########
java/fory-core/src/main/java/org/apache/fory/resolver/TypeResolver.java:
##########
@@ -467,6 +467,8 @@ public final boolean isSerializable(Class<?> cls) {
public abstract Class<? extends Serializer> getSerializerClass(Class<?> cls,
boolean codegen);
+ public abstract Class<? extends Serializer>
getSerializerClassFinalField(Class<?> cls);
Review Comment:
can you please elaborate on this? I used
https://github.com/mchernyakov/fory/blob/23a5e68aa39d7e54426ebb40b9985dcee497a8e8/java/fory-core/src/test/java/org/apache/fory/serializer/FinalFieldReplaceResolveSerializerTest.java#L349
as an example and set breakpoints in `buildFieldsInfo` , but the flow does not
reach the method. It goes through `ClassResolver#getSerializerClass(...)` to
fetch the serializer (which must be `FinalFieldReplaceResolver`).
--
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]