Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Lucene, mail # dev - Re: [JENKINS] Lucene-Solr-tests-only-trunk - Build # 9053 - Failure


Copy link to this message
-
RE: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9511 - Failure
Steven A Rowe 2011-07-11, 19:53
This compilation failure is down to @Override annotations - I've committed the fix (removing the annotations):

    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/src/java/org/apache/solr/analysis/FSTSynonymFilterFactory.java:57: method does not override a method from its superclass
    [javac]   @Override
    [javac]    ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/src/java/org/apache/solr/analysis/FSTSynonymFilterFactory.java:62: method does not override a method from its superclass
    [javac]   @Override
    [javac]    ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/src/java/org/apache/solr/analysis/SynonymFilterFactory.java:43: method does not override a method from its superclass
    [javac]   @Override
    [javac]    ^
    [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/src/java/org/apache/solr/analysis/SynonymFilterFactory.java:49: method does not override a method from its superclass
    [javac]   @Override
    [javac]    ^
> -----Original Message-----
> From: Apache Jenkins Server [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 11, 2011 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9511 - Failure
>
> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9511/
>
> No tests ran.
>
> Build Log (for compile errors):
> [...truncated 3060 lines...]
>     [javac] found   : java.util.Collection
>     [javac] required: java.util.Collection<java.lang.String>
>     [javac]     public Collection getFileNames() throws IOException {
>     [javac]                       ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-
> only-
> 3.x/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyWrappe
> r.java:211: warning: getUserData() in
> org.apache.solr.core.IndexDeletionPolicyWrapper.IndexCommitWrapper
> overrides getUserData() in org.apache.lucene.index.IndexCommit; return
> type requires unchecked conversion
>     [javac] found   : java.util.Map
>     [javac] required: java.util.Map<java.lang.String,java.lang.String>
>     [javac]     public Map getUserData() throws IOException {
>     [javac]                ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-
> only-
> 3.x/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBase.jav
> a:173: warning: [unchecked] unchecked call to add(java.lang.String,T) as
> a member of the raw type org.apache.solr.common.util.NamedList
>     [javac]     lst.add("handlerStart",handlerStart);
>     [javac]            ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-
> only-
> 3.x/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBase.jav
> a:174: warning: [unchecked] unchecked call to add(java.lang.String,T) as
> a member of the raw type org.apache.solr.common.util.NamedList
>     [javac]     lst.add("requests", numRequests);
>     [javac]            ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-
> only-
> 3.x/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBase.jav
> a:175: warning: [unchecked] unchecked call to add(java.lang.String,T) as
> a member of the raw type org.apache.solr.common.util.NamedList
>     [javac]     lst.add("errors", numErrors);
>     [javac]            ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-
> only-
> 3.x/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBase.jav
> a:176: warning: [unchecked] unchecked call to add(java.lang.String,T) as
> a member of the raw type org.apache.solr.common.util.NamedList
>     [javac]     lst.add("timeouts", numTimeouts);
>     [javac]            ^
>     [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-
> only-
> 3.x/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBase.jav
> a:177: warning