You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2021/05/29 17:34:00 UTC
[jira] [Created] (MATH-1594) Usage of "Serializable"
Gilles Sadowski created MATH-1594:
-------------------------------------
Summary: Usage of "Serializable"
Key: MATH-1594
URL: https://issues.apache.org/jira/browse/MATH-1594
Project: Commons Math
Issue Type: Task
Reporter: Gilles Sadowski
Usage of the {{Serializable}} "interface" should be examined.
A class should only declare it (in its "implements" clause) if absolutely necessary (e.g. an exception class). In many cases, serialization is either not necessary (no state, or no point in serializing it) or should be left to the caller.
Blindly using {{Serializable}} has hidden costs and can entail security issues.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)