Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D88152009A8 for ; Tue, 17 May 2016 17:49:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D56D6160A20; Tue, 17 May 2016 15:49:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1F1241607A8 for ; Tue, 17 May 2016 17:49:13 +0200 (CEST) Received: (qmail 74744 invoked by uid 500); 17 May 2016 15:49:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 74716 invoked by uid 99); 17 May 2016 15:49:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 15:49:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D76D02C033A for ; Tue, 17 May 2016 15:49:12 +0000 (UTC) Date: Tue, 17 May 2016 15:49:12 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MATH-1365) Workaround "Serializable" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 May 2016 15:49:15 -0000 Gilles created MATH-1365: ---------------------------- Summary: Workaround "Serializable" Key: MATH-1365 URL: https://issues.apache.org/jira/browse/MATH-1365 Project: Commons Math Issue Type: Task Reporter: Gilles Assignee: Gilles 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)