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)

Reply via email to