Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 79919 invoked from network); 22 Apr 2003 17:44:22 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 22 Apr 2003 17:44:22 -0000 Received: (qmail 23613 invoked by uid 97); 22 Apr 2003 17:46:21 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 23606 invoked from network); 22 Apr 2003 17:46:21 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 22 Apr 2003 17:46:21 -0000 Received: (qmail 79701 invoked by uid 500); 22 Apr 2003 17:44:18 -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 79676 invoked from network); 22 Apr 2003 17:44:18 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 22 Apr 2003 17:44:18 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by warhawk.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h3MHiKd28064 for ; Tue, 22 Apr 2003 13:44:20 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [199.93.195.20]) by lightning.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h3MHiELv013373 for ; Tue, 22 Apr 2003 13:44:19 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Pool] What's left for a release? Date: Tue, 22 Apr 2003 13:44:14 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8346401@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Pool] What's left for a release? thread-index: AcMI9cSzUnmqx1UyS0CtPe8Q/8dVsgAAE2nQ From: "Shapira, Yoav" To: "Jakarta Commons Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, I'll jump in as a simple user of this code but having faced this probl= em numerous times as a contributor on several jakarta and for-profit projects. >(1) Which exact one field in GenericObjectPool would we need to chang= e to >protected access to address our current problem? We could make this o= ne >field protected in 2.0. We could then create our own subclass and define >the >behavior we need. You would end up with GenericObjectPool that has on= e ivar >protected and all others private, which is oddly inconsistent and nee= ds to I don't think it's oddly inconsistent. In fact, I think it's consiste= nt with the practice of making everything private until an overriding requirement comes up. However, I agree with you this approach is suboptimal. >Well, we would like to be implementing our own pool to customize behavior >in GenericObjectPool, but we cannot. Hence the request to simply make= >fields and methods that are now private protected. This would allow >subclassing to work, always. Why not solve this problem once? I agree this would be a better long-term solution conceptually. Two points though: - Not all private fields should automatically be made protected. Only= those fields likely to be modified by a subclass need be made protecte= d. - There's a conflicting requirement here, which is a speedy release to= satisfy struts dependencies. Given the speedy release requirement, I would tend to say keep it as stable as possible, and make the private->protected transition one of the top items for the next release. Of course that's easy for me to s= ay as I don't need the modifications right now. However, I would anticipate a fairly quick (< 4 weeks) Pool 2.1 release with mainly the= se modifications. Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org