chaokunyang commented on code in PR #1911:
URL: https://github.com/apache/fury/pull/1911#discussion_r1817864252
##########
java/fury-core/src/main/java/org/apache/fury/serializer/AbstractObjectSerializer.java:
##########
@@ -256,6 +306,29 @@ private InternalFieldInfo[] buildFieldsInfo() {
return fieldInfos;
}
+ public static InternalFieldInfo[] buildFieldsInfo(Fury fury, List<Field>
fields) {
+ List<Descriptor> descriptors = new ArrayList<>();
+ for (Field field : fields) {
+ if (!Modifier.isStatic(field.getModifiers())) {
Review Comment:
transient fields should be filtered too
--
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]