You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Uwe Schindler <uw...@thetaphi.de> on 2009/02/26 14:35:29 UTC

Test compile failure with latest trunk

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


Re: Test compile failure with latest trunk

Posted by Michael McCandless <lu...@mikemccandless.com>.
Duh -- my bad, sorry.  I'll fix.

Mike

Uwe Schindler wrote:

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org