Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 25152 invoked from network); 7 Dec 2002 10:25:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Dec 2002 10:25:31 -0000 Received: (qmail 4802 invoked by uid 97); 7 Dec 2002 10:26:48 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 4778 invoked by uid 97); 7 Dec 2002 10:26:46 -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 4744 invoked by uid 98); 7 Dec 2002 10:26:46 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Sat, 7 Dec 2002 10:25:56 +0000 Subject: Re: [beanutils] moving reflection classes out of beanutils Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <4574FC54-09CE-11D7-8138-003065DC754C@blueyonder.co.uk> X-Mailer: Apple Mail (2.482) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Saturday, December 7, 2002, at 06:59 AM, Costin Manolache wrote: > Craig R. McClanahan wrote: > >>> It doesn't quite matter. There are people using it ( digester, other >>> projects), it was released - we have to live with it. We may learn a >>> lesson about APIs and use it next time, but as long as it does what it >>> is >>> supposed to do and works - you can't remove it. > >> I believe that adding a dependency on [lang] or [reflect] would itself be >> grounds for a 2.x version number for [beanutils], even with no other >> changes (although there would undoubtedly be some). > > I don't know. > > this kind of stuff. > > If the [reflect] package will have the same features and better API - > then it may be better to mark beanutils as "stable"/"closed" and > migrate modeler, digester, etc directly to [reflect]. I don't see why > would we need a 2.x version. the plan was to separate out just the reflection utilities leaving beanutils focused exclusively on introspection. digester (for example) would still need to use beanutils for introspection but may want to migrate to the improved reflection utilities. the critical flaw with the old MethodUtils API is that the method contracts are not written in a way that makes it clear what are bugs and what aren't. fixing this will mean changing the method symantics. the reflection methods will work better but differently. i'd say that's a good reason for making it version 2.0. components using beanutils expect that MethodUtils should work to the java language specification. users who use MethodUtils directly rely on the method descriptions. they can quite reasonable rely on a feature of the current code which deviates from the correct behaviour (as far as the other components are concerned). the flaw also makes it impossible to create comprehensive test cases. - robert -- To unsubscribe, e-mail: For additional commands, e-mail: