lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Lucene nightly build failure
Date Mon, 20 Nov 2006 02:32:08 GMT
On 11/19/06, Yonik Seeley <yonik@apache.org> wrote:
> On 11/19/06, Chris Hostetter <hossman_lucene@fucit.org> 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


Mime
View raw message