Hi Han,
I just reproduced it three times on my working copy in the directory
trunk/lucene/core
with ant clean in the command sequence:
svn update -r {20130926}
ant clean
ant compile-test # build successful
svn update -r 1527154
ant clean
ant compile-test # build failed
In my working copy svn status currently produces this:
M src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java
and I don't expect these have an influence.
To be complete, on revision 1526316 (of the 26th) I also got this output
(slightly edited) once:
compile-core:
[mkdir] Created dir: .... lucene/trunk/lucene/build/core/classes/java
[javac] Compiling 672 source files to ...
lucene/trunk/lucene/build/core/classes/java
[javac] An exception has occurred in the compiler (1.7.0_21).
Please file a bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport) after checking the Bug Parade
for duplicates. Include your program and the following diagnostic in
your report. Thank you.
[javac] java.lang.AbstractMethodError
....
I could not reproduce that one with four more attempts, so I do hope
that that was a one time glitch.
But it is strange that on my machine:
javac -version
produces:
javac 1.7.0_40
and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any advice there?
Regards,
Paul Elschot
P.S.
java -version
produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)
On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,
Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant
clean' ?
On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot
<[email protected] <mailto:[email protected]>> wrote:
Dear readers,
When I update my working copy of lucene core trunk to current
latest rev 1527154, ant compile-test fails with this message:
...
lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17:
error: cannot find symbol
[javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;
After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.
I couldn't decide on which issue to post this, so here it is.
Regards,
Paul Elschot
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>
--
Han Jiang
Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science,
Peking University, China