Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 41632 invoked from network); 14 Dec 2007 20:02:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2007 20:02:39 -0000 Received: (qmail 84574 invoked by uid 500); 14 Dec 2007 20:02:27 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 84280 invoked by uid 500); 14 Dec 2007 20:02:26 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 84271 invoked by uid 99); 14 Dec 2007 20:02:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 12:02:26 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.179] (HELO moutng.kundenserver.de) (212.227.126.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 20:02:04 +0000 Received: from [192.168.178.20] (p5B09979F.dip0.t-ipconnect.de [91.9.151.159]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1J3GjV3wZJ-00073p; Fri, 14 Dec 2007 21:02:06 +0100 Message-ID: <4762E140.3050805@oliver-heger.de> Date: Fri, 14 Dec 2007 21:02:08 +0100 From: Oliver Heger User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [configuration] JDK compatibility References: <4760DC4B.5010101@oliver-heger.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX18V9DBnXNYFMi042PBV8e7KKCCb93WnfIFDd08 +Cera2ckQFYtGt2TZeCuIBzq8ZetQP//+EluAhyFoV/hNIkahk vHvnZ0sYDIezrDaNpz2lg== X-Virus-Checked: Checked by ClamAV on apache.org J�rg Schaible wrote: > Oliver Heger wrote: >> (There was a similar discussion about commons lang recently.) >> >> Configuration used to support JDK 1.3. For the next release (either >> 1.6 or 2.0) I would like to drop this compatibility. The number >> of feature >> requests that require a newer JDK version is increasing. >> >> This raises a couple of questions: >> - To which JDK version should we switch? 1.4 or immediately to 1.5? >> - Should creating a compatibility branch be considered? (I doubt that >> there is enough energy and motivation for maintaining >> multiple branches.) >> - Does a switch in the JDK version require a major release? >> - Is a new package name required (at least for a major >> release if there >> are binary incompatible changes)? >> >> Any thoughts? > > - go for 1.5 > - take advantage of generics > - make 2.x > - use a different package name to allow 1.x and 2.x series to co-exist > - put 1.x branch into maintenance mode > - take this as chance to refactor and drop/clean-up any legacy stuff (setDelimiter, setThrowExceptionMissing) > > IMHO a lot of the current Commons components lack of activity and contributors, since everytime someone comes along and provides patches or requests feature support based on stuff available in newer JDKs (e.g. Preferences for commons-configuration), it is turned down by the "have to be compatible to JDK 1.1" argument. While keeping compatibility is basically a good thing and necessary, we should not hesitate and move on at some time. The new language features of Java 5 are a good reason to do so. > > However, the old versions do not suddenly vanish also. It's just, that they don't get new features. If someone is really eager on porting a new feature of the head revision into the 1.x branch and make a release ... it's not forbidden. > > Just my 2 cents, > J�rg > This is pretty much the reaction I was hoping for :-) So I will probably follow this road. This is a good opportunity for a refactoring and polishing of some interfaces and base classes. Because we will have major changes, changing the package name (maybe to o.a.c.configuration2?) will certainly make sense. It would be good however to handle this commons-wide in a consistent way. Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org