Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 26097 invoked from network); 24 Jan 2011 12:28:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jan 2011 12:28:47 -0000 Received: (qmail 6587 invoked by uid 500); 24 Jan 2011 12:28:47 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 6016 invoked by uid 500); 24 Jan 2011 12:28:44 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 5998 invoked by uid 99); 24 Jan 2011 12:28:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 12:28:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of phil.steitz@gmail.com designates 209.85.214.43 as permitted sender) Received: from [209.85.214.43] (HELO mail-bw0-f43.google.com) (209.85.214.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 12:28:36 +0000 Received: by bwz14 with SMTP id 14so3597801bwz.30 for ; Mon, 24 Jan 2011 04:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Yovz1JIh1N0Jp4Cf2eFjytA0pqltHU8VJWvf8+CG+9U=; b=QT+5EDpTHvm9Vs1z2jx87RBcvI2r/HVj1lm0pLATvc+ztYwBBE9GxM8shzjhRWLhL3 JRXwQ7ct9rUKtwXtuJtmSj/vV3TPHsxCi/XXPZKU4hg3pLdc0WaHtRRzCY3nlL8r7fgn 1LJv0zxM5aTn+s9IiUgTe0lsbwGwx0w4TifCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hSo/+cjMTUAcIW6c0bSjm6mjHnIh40LKjJ5BdbmO/ee9SQZPWx7+RbjhvYk4n0Z1rw U2FCJvRngm0Bl4eJ/iMuwa1EAtpA0i/WvYipSixmhjK0NeYEcQU4asg768g82hVi9aVn GJ2YTikG9bXf5y0QxLODBRuN/rk4Ec2ThZbiU= MIME-Version: 1.0 Received: by 10.204.85.84 with SMTP id n20mr3495584bkl.210.1295872095120; Mon, 24 Jan 2011 04:28:15 -0800 (PST) Received: by 10.204.48.141 with HTTP; Mon, 24 Jan 2011 04:28:15 -0800 (PST) In-Reply-To: References: Date: Mon, 24 Jan 2011 07:28:15 -0500 Message-ID: Subject: Re: [math] 2.2 compatibility issues From: Phil Steitz To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Jan 16, 2011 at 12:26 PM, Phil Steitz wrote= : > On Sun, Jan 2, 2011 at 1:01 PM, Phil Steitz wrote= : >> The clirr report run from the current MATH_2_X branch is, as expected, >> problematic.=A0 To get 2.2. out, we need to agree on what breaks we are = going >> to allow and what we are going to fix.=A0=A0 Here is a first cut and pro= posal >> for some immediate fixes that I would appreciate feedback on. >> >> 0)=A0 The improvements to the distributions classes to add characteristi= c >> support and positive mass domains have added some new methods to interfa= ces >> and new abstract methods to abstract classes.=A0 I apologize for not spo= tting >> this in initial patch reviews or being clear in discussion of the >> features.=A0=A0 I think we can keep the functionality without introducin= g the >> compatibility breaks by removing the added methods from interfaces / >> abstract classes.=A0 The only painful part is the nice solution for cach= ing >> numerical characteristics that will have to be repeated in the >> implementation classes that need it.=A0 I would like to proceed with the= se >> changes in the 2.2 branch if others are OK with it. > > Fixed >> >> 1) Removed superclasses in the exception hierarchy.=A0 I am OK leaving t= hese >> as is. > > I am now starting to wonder if we should fix this. =A0Problem is user > code that may be catching the superclass exceptions (which is why > clirr is complaining). > Sorry to flip/flop on this, but I now think we really need to fix this (i,e., revert the incompatible changes). I have started doing the work, most of which is replacing the new, unchecked MathUserException with the deprecated checked FunctionEvaluationException. I don't think we *need* to force users to do refactor or surprise them with unchecked exceptions in the upgrade to 2.2 and I am willing to do the work to fix this. If I hear no objections, I will commit the changes when I have finished (next day or two). We can add some info to the release notes warning users of upcoming incompatible changes in 3.0. Phil >> >> I don't know what, if anything, to do about the following: >> >> 2) Changed return type of interpolate in BicubicSpline. > > Fixed >> >> 3) Incompatible changes in the ode package. > > I agree that unfortunately this is hopeless. > >> >> 4) Incompatible changes in the optimization package. > > Fixing... > > Phil > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org