Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 94600 invoked from network); 20 Nov 2006 02:32:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 02:32:39 -0000 Received: (qmail 38440 invoked by uid 500); 20 Nov 2006 02:32:43 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 38399 invoked by uid 500); 20 Nov 2006 02:32:43 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 38388 invoked by uid 99); 20 Nov 2006 02:32:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Nov 2006 18:32:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of yseeley@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Nov 2006 18:32:30 -0800 Received: by nf-out-0910.google.com with SMTP id n28so2025208nfc for ; Sun, 19 Nov 2006 18:32:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Cexde9EZ93M4BWGoe1aVC9hMiTJirksNGuKUAK6YPrL4oM0puSjH8Ay2HqDIHU3hWqGea/Wfl27W8s21JlIdHPTT+g0Wt946cVQw3LQgKuanGIJ/fx3Gl/U7APi+0N02Yf7DJ2KNm95vRJiG38SLX/U+strNHUnU7GNpLkDjWmo= Received: by 10.82.106.14 with SMTP id e14mr507947buc.1163989928558; Sun, 19 Nov 2006 18:32:08 -0800 (PST) Received: by 10.82.149.12 with HTTP; Sun, 19 Nov 2006 18:32:08 -0800 (PST) Message-ID: Date: Sun, 19 Nov 2006 21:32:08 -0500 From: "Yonik Seeley" Sender: yseeley@gmail.com To: java-dev@lucene.apache.org Subject: Re: Lucene nightly build failure In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200611200003.kAK03qe2005685@lucene.zones.apache.org> X-Google-Sender-Auth: ca797804e9238646 X-Virus-Checked: Checked by ClamAV on apache.org On 11/19/06, Yonik Seeley wrote: > On 11/19/06, Chris Hostetter wrote: > > > > : [javac] /tmp/lucene-nightly/src/java/org/apache/lucene/queryParser/QueryParser.java:654: cannot resolve symbol > > : [javac] symbol : method toChars (int,char[],int) > > : [javac] location: class java.lang.Character > > : [javac] length += Character.toChars(codePoint, output, length); > > > > ...hmm, that method seems to only be in java 1.5, hopefully someone that > > understands code points can step up and change it to something 1.4 safe? > > I've fixed it locally... testing (with Java1.4) now. Fix committed. I replaced it with output[length++] = (char)codePoint; since the code doesn't handle codePoint generation greater than 16 bits anyway. -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org