Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 69885 invoked from network); 1 May 2004 18:17:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 May 2004 18:17:13 -0000 Received: (qmail 60297 invoked by uid 500); 1 May 2004 18:16:45 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 60167 invoked by uid 500); 1 May 2004 18:16:44 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 59997 invoked from network); 1 May 2004 18:16:42 -0000 Received: from unknown (HELO a.mail.peak.org) (69.59.192.41) by daedalus.apache.org with SMTP; 1 May 2004 18:16:42 -0000 Received: from apache.org (dsl-155-25.peak.org [198.88.155.25]) by a.mail.peak.org (8.12.10/8.12.8) with ESMTP id i41IGjLT030301 for ; Sat, 1 May 2004 11:16:46 -0700 (PDT) Message-ID: <4089DCAF.3040003@apache.org> Date: Fri, 23 Apr 2004 20:19:11 -0700 From: "Craig R. McClanahan" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031111 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [digester] local ArrayStack implementation not backwardscompatible? References: <1082361677.714.212.camel@pcsimon> <005301c42644$9cbed440$de668051@oemcomputer> In-Reply-To: <005301c42644$9cbed440$de668051@oemcomputer> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.238 (*) DATE_IN_PAST_96_XX X-Scanned-By: MIMEDefang 2.39 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stephen Colebourne wrote: >From: "Simon Kitching" > > >>While compiling the release notes, and checking for API >>incompatibilities between releases, it occurred to me that there is a >>backward compatibility issue. Am I right in thinking that when >>subclassing a class with "protected" members, if the parent class >>implementation changes the type of those members then that is a binary >>incompatibility with the subclass? >> >> >You are correct. > > > >>PS: I've tested BeanUtils and Digester against collections-3.0, and: >>(a) binaries compiled against collections-2.1 complete all tests ok >> when 3.0 is put in the classpath instead of 2.1. >>(b) all source compiles against 3.0 fine, and tests run ok. >> >> >I have avoided commenting on digester/beanutils issues with collections, as >I believe the long term proposed solution of separation to be correct >(commons components should be pretty isolated). However, at the very least >it needs to be made clear in any release notes that digester and beanutils >will run correctly with either 2.1 or 3.0. Perhaps that way tomcat can be >convinced to change to 3.0. > > From what I can see on TOMCAT-DEV, the Tomcat developers think that there are backwards incompatibilities for Tomcat users (beyond any issues that might affect Tomcat itself). Based on that, I've certainly been one of those casting aspersions. If we're all full of it, a [collections] statement on the nature and scope of backwards compatibility, pointing out the error of our (Tomcat developers and my) ways, would go a long ways towards addressing this concern. Struts is shortly going to be in the same boat ... the dependency of Struts itself on collections is only that inherited from Digester/BeanUtils; but the Struts developers will want to ensure that an upgrade to Collections 3.0 won't cause undue problems for users of Struts, before we switch. >Stephen > > Craig --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org