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] [Updated] (GEODE-4595) AnalyzeSerializablesJUnitTest fails
to detect removal of toData/fromData methods
[ https://issues.apache.org/jira/browse/GEODE-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Schuchardt updated GEODE-4595:
------------------------------------
Issue Type: Test (was: Improvement)
> 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: Test
> Components: serialization
> Reporter: Bruce Schuchardt
> Priority: Major
>
> 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)