I fixed the compile error: Java 5 does not have Arrays.copyOfRange() ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected]
> -----Original Message----- > From: Apache Jenkins Server [mailto:[email protected]] > Sent: Friday, November 25, 2011 6:44 PM > To: [email protected] > Subject: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 11528 - Failure > > Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/11528/ > > No tests ran. > > Build Log (for compile errors): > [...truncated 2902 lines...] > [javac] public Collection getFileNames() throws IOException { > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/core/IndexDeletionPolicyWra > pper.java:157: warning: getFileNames() in > org.apache.solr.core.IndexDeletionPolicyWrapper.IndexCommitWrapper > overrides getFileNames() in org.apache.lucene.index.IndexCommit; return type > requires unchecked conversion > [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/core/src/java/org/apache/solr/core/IndexDeletionPolicyWra > pper.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/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java: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/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java: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/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java: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/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java: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/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java:177: 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("totalTime",totalTime); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java:178: 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("avgTimePerRequest", (float) totalTime / (float) > this.numRequests); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/RequestHandlerBase. > java:179: 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("avgRequestsPerSecond", (float) numRequests*1000 / > (float)(System.currentTimeMillis()-handlerStart)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHa > ndler.java:216: warning: [unchecked] unchecked conversion > [javac] found : org.apache.solr.util.RefCounted[] > [javac] required: > org.apache.solr.util.RefCounted<org.apache.solr.search.SolrIndexSearcher>[] > [javac] searchers = new RefCounted[sourceCores.length]; > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/Response > Builder.java:320: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] rsp.getResponseHeader().add( "partialResults", Boolean.TRUE > ); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/search/FunctionQParser.java: > 254: warning: [unchecked] unchecked conversion > [javac] found : java.util.HashMap > [javac] required: java.util.Map<java.lang.String,java.lang.String> > [javac] int end = QueryParsing.parseLocalParams(qs, start, > nestedLocalParams, getParams()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:401: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] facet_counts.add("facet_queries",facet_queries); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:403: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] facet_queries.add(qf.getKey(), num(qf.count)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:407: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] facet_counts.add("facet_fields", facet_fields); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:411: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] facet_fields.add(dff.getKey(), fieldCounts); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:432: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] fieldCounts.add(counts[i].name, num(counts[i].count)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:450: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] fieldCounts.add(counts[i].name, num(count)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:455: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] fieldCounts.add(null, num(dff.missingCount)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:460: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] facet_counts.add("facet_dates", new SimpleOrderedMap()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/handler/component/FacetCo > mponent.java:461: warning: [unchecked] unchecked call to > add(java.lang.String,T) as a member of the raw type > org.apache.solr.common.util.NamedList > [javac] facet_counts.add("facet_ranges", new SimpleOrderedMap()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:19 > 6: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] facetResponse.add("facet_queries", getFacetQueryCounts()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:19 > 7: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] facetResponse.add("facet_fields", getFacetFieldCounts()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:19 > 8: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] facetResponse.add("facet_dates", getFacetDateCounts()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:19 > 9: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] facetResponse.add("facet_ranges", getFacetRangeCounts()); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:23 > 6: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] res.add(key, searcher.numDocs(qobj, base)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:31 > 7: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] res.add(key, getListedTermCounts(facetValue, termList)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:31 > 9: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] res.add(key, getTermCounts(facetValue)); > [javac] ^ > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only- > 3.x/checkout/solr/core/src/java/org/apache/solr/request/SimpleFacets.java:33 > 5: warning: [unchecked] unchecked call to add(java.lang.String,T) as a member > of the raw type org.apache.solr.common.util.NamedList > [javac] res.add(term, count); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files additionally use unchecked or unsafe > operations. > [javac] 1 error > [...truncated 13 lines...] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] For additional > commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
