Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 83742 invoked from network); 24 Jun 2004 15:56:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Jun 2004 15:56:19 -0000 Received: (qmail 76607 invoked by uid 500); 24 Jun 2004 15:54:13 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 76540 invoked by uid 500); 24 Jun 2004 15:54:12 -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 76406 invoked by uid 99); 24 Jun 2004 15:54:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [207.158.50.34] (HELO devolver.fgm.dev) (207.158.50.34) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 24 Jun 2004 08:54:10 -0700 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by devolver.fgm.dev (8.12.8/8.12.8) with ESMTP id i5OFrsgI017633 for ; Thu, 24 Jun 2004 08:53:54 -0700 Message-ID: <40DAF912.7010703@apache.org> Date: Thu, 24 Jun 2004 08:53:54 -0700 From: "matthew.hawthorne" User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [collections] JDK1.5 References: <006d01c4596e$06e40d20$03939b51@oemcomputer> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Henri Yandell wrote: > Just to ask the village idiot question, why would moving to 1.5 mean > losing 1.4 support? > > From what I understood (which is not much), 1.5 maintains > binary-compatibility with 1.4 for Collections as far as generics go, but > not compile-time (obviously). > > We just need to have a process in which Collections is tested in 1.2, 1.3, > 1.4 and 1.5, but write it under 1.5? > > I imagine it would bloat the API for 1.4 with all the generated methods. I thought this was true only if you don't use any of the 1.5 features. For example, if you use the 'assert' keyword in your code, you have to set the source and target to 1.4. I figured that same was true for using generics of any of the other 1.5 stuff. I never am quite sure how this stuff works... --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org