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 (JIRA)" <ji...@apache.org> on 2016/05/17 16:22:12 UTC

[jira] [Resolved] (MATH-1365) Workaround "Serializable"

     [ https://issues.apache.org/jira/browse/MATH-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-1365.
--------------------------
    Resolution: Fixed

Fix merged into branch "develop".

> Workaround "Serializable"
> -------------------------
>
>                 Key: MATH-1365
>                 URL: https://issues.apache.org/jira/browse/MATH-1365
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles
>            Assignee: Gilles
>              Labels: painful, serializable
>             Fix For: 4.0
>
>
> Class {{o.a.c.m.util.RandomPivotingStrategy}} is {{Serializable}}.
> It is again questionable to have a class implement {{Serializable}} for no better reason than an instance of this type is contained in a class that is itself {{Serializable}}; indee it thus spreads like an epidemic in all the library.
> In this case, the new {{UniformRandomProvider}} is not {{Serializable}} and this entails to have {{RandomPivotingStrategy}} contain custom serialization code...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)