You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2018/02/05 21:05:00 UTC

[jira] [Created] (GEODE-4595) AnalyzeSerializablesJUnitTest fails to detect removal of toData/fromData methods

Bruce Schuchardt created GEODE-4595:
---------------------------------------

             Summary: AnalyzeSerializablesJUnitTest fails to detect removal of toData/fromData methods
                 Key: GEODE-4595
                 URL: https://issues.apache.org/jira/browse/GEODE-4595
             Project: Geode
          Issue Type: Improvement
          Components: serialization
            Reporter: Bruce Schuchardt


Nick just came to me with an interesting situation.  He had created a new DataSerializable message class that AnalyzeSerializables didn't notice.  He had also removed the toData/fromData from a message that no longer had any state.  AnalyzeSerializables also didn't detect this change.

The test currently looks for any class that implements fromData/toData and looks for changes to those methods.  Clearly it also needs to look for implementations that don't have toData/fromData methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)