lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: More Java 1.5 in Tests
Date Fri, 12 Jun 2009 15:28:53 GMT
Sigh.  I'll fix.  I should just leave my world on 1.4 until we get 3.0 out...

Mike

On Fri, Jun 12, 2009 at 11:14 AM, Grant Ingersoll<gsingers@apache.org> wrote:
> It seems JDK 1.5+ is the de facto for darn near everyone...
>
> ant compile-test with JDK 1.4 yields:
>
> common.compile-test:
>    [javac] Compiling 82 source files to
> .../lucene/java/clean/build/classes/test
>    [javac]
> /Users/grantingersoll/projects/lucene/java/clean/src/test/org/apache/lucene/search/TestDocIdSet.java:85:
> cannot resolve symbol
>    [javac] symbol  : method valueOf (int)
>    [javac] location: class java.lang.Integer
>    [javac]       list.add(Integer.valueOf(doc));
>    [javac]                       ^
>
>  [javac].../lucene/java/clean/src/test/org/apache/lucene/search/TestDocIdSet.java:87:
> cannot resolve symbol
>    [javac] symbol  : method valueOf (int)
>    [javac] location: class java.lang.Integer
>    [javac]         list.add(Integer.valueOf(doc));
>    [javac]                         ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 2 errors
>
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message