lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject Test compile failure with latest trunk
Date Thu, 26 Feb 2009 13:35:29 GMT
I got the following when compiling trunk tests, updated a few minutes ago:

common.compile-test:
    [mkdir] Created dir: C:\Projects\lucene\trunk\build\classes\test
    [javac] Compiling 185 source files to
C:\Projects\lucene\trunk\build\classes
\test
    [javac]
C:\Projects\lucene\trunk\src\test\org\apache\lucene\search\TestSort.
java:450:
newComparator(java.lang.String,org.apache.lucene.index.IndexReader[],i
nt,int,boolean) in org.apache.lucene.search.TestSort.MyFieldComparatorSource
can
not override
newComparator(java.lang.String,org.apache.lucene.index.IndexReader[
],int,int,boolean) in org.apache.lucene.search.FieldComparatorSource;
attempting
 to assign weaker access privileges; was public
    [javac]     FieldComparator newComparator(String fieldname,
IndexReader[] su
bReaders, int numHits, int sortPos, boolean reversed) {
    [javac]                     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

BUILD FAILED

Seems to have to do something with the last commit about the comparators by
Mike, the test must now also be public.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de



---------------------------------------------------------------------
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