chaokunyang commented on code in PR #1472: URL: https://github.com/apache/incubator-fury/pull/1472#discussion_r1554641365
########## java/fury-core/src/test/java/org/apache/fury/serializer/PrimitiveSerializersTest.java: ########## @@ -54,4 +59,62 @@ public void testUint16Serializer() { assertThrows(IllegalArgumentException.class, () -> serializer.xwrite(buffer, -1)); assertThrows(IllegalArgumentException.class, () -> serializer.xwrite(buffer, 65536)); } + + @Data + @AllArgsConstructor + public static class PrimitiveStruct { Review Comment: Private will be better. Fury don't support private class codegen previously, so I used the public class in tests. -- 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: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org