Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 24747 invoked from network); 8 Mar 2004 18:33:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Mar 2004 18:33:43 -0000 Received: (qmail 83865 invoked by uid 500); 8 Mar 2004 18:33:33 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 83850 invoked by uid 500); 8 Mar 2004 18:33:33 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 83835 invoked from network); 8 Mar 2004 18:33:32 -0000 Received: from unknown (HELO sccrmhc12.comcast.net) (204.127.202.56) by daedalus.apache.org with SMTP; 8 Mar 2004 18:33:32 -0000 Received: from apache.org (c-24-5-145-151.client.comcast.net[24.5.145.151]) by comcast.net (sccrmhc12) with ESMTP id <2004030818333601200iqlcje>; Mon, 8 Mar 2004 18:33:36 +0000 Message-ID: <404CBC66.3090606@apache.org> Date: Mon, 08 Mar 2004 10:33:10 -0800 From: Doug Cutting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucene Developers List Subject: Re: New FieldSortedHitQueue uses Java 1.4 feature References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Robert Engels wrote: > Seems like a bad precedent... if developers have to worry about coding > around problems in specific JDK's, it could be a nightmare. What about the > next user who uses some JDK than is less mainstream? I think you're responding to the other branch of this thread! What I was suggesting here is that Tim remove the regex code from the Lucene 1.4 codebase, since it requires Java 1.4, while everything else in Lucene requires only Java 1.2. Separately, there's the issue of how Lucene should handle a bug in IBM's 1.3 JIT, but that's not what I was talking about here. Doug > -----Original Message----- > From: Doug Cutting [mailto:cutting@apache.org] > Sent: Monday, March 08, 2004 11:57 AM > To: Lucene Developers List > Subject: Re: New FieldSortedHitQueue uses Java 1.4 feature > > > Tim Jones wrote: > >>But, if this is the only code depending on java 1.4, it seems like it > > would > >>be better to remove it for better version compatibility. Perhaps what > > would > >>be best would be to have the code detect which version it's running under >>and act appropriately. > > > I vote for just removing it, and keeping Lucene 1.4 compatible with Java > 1.2. I don't think it's worth trying to detect the version. You might > add a comment, or even a commented-out 1.4-based implementation, to mark > this as something to revisit when we eventually move Lucene to Java 1.4. > > Doug > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-dev-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org