yanghua commented on issue #6755: [FLINK-10412] toString field in AbstractID should be transient to avoid been serialized URL: https://github.com/apache/flink/pull/6755#issuecomment-424997312 Hi @StephanEwen , I verified the scene you said and did not lead to failure. Proceed as follows: 1. Serialize the current version of AbstractID to a local file; 2. Deserialize from the local file and convert the deserialized Object type to a new AbstractID (mark the toString field as transient); 3. Compare the fields and hashcode to be consistent; Since this test comes from two separate methods and the AbstractID is modified in the middle, it seems impossible to write a directly running test case.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
