Yes, I vaguely remember seeing something about it before - mainly I just wanted to put something on the list in case anybody else got weird compiler errors from code that was happily passing Jenkins tests! Thanks for double-checking, anyway.
Alan Woodward www.flax.co.uk On 29 Feb 2016, at 22:00, Uwe Schindler wrote: > The code is right. It's a compiler bug. > > I thinks it is the one we found back at that time, too. > > Uwe > > Am 29. Februar 2016 22:57:26 MEZ, schrieb Uwe Schindler <[email protected]>: > Oh sorry' I touched that code! I'll check. > > Uwe > > Am 29. Februar 2016 22:56:10 MEZ, schrieb Uwe Schindler <[email protected]>: > Thanks. This is not there code I was working on! But I remember that there > was a javac bug introduced in update 20. Maybe it is that one. > > I assume the code is alright and compiler is wrong. > > Uwe > > Am 29. Februar 2016 22:49:52 MEZ, schrieb Alan Woodward <[email protected]>: > common.compile-core: > [javac] Compiling 1 source file to > /Users/woody/asf/lucene-solr-trunk/lucene/build/suggest/classes/java > [javac] > /Users/woody/asf/lucene-solr-trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/tst/TSTLookup.java:79: > error: cannot assign a value to final variable aStop > [javac] aStop = aUpto + a.length; > [javac] ^ > [javac] > /Users/woody/asf/lucene-solr-trunk/lucene/suggest/src/java/org/apache/lucene/search/suggest/tst/TSTLookup.java:81: > error: cannot assign a value to final variable aStop > [javac] aStop = aUpto + b.length; > [javac] ^ > [javac] 2 errors > > Compiles under 1.8.0_74, gives this error for 1.8.0_25 > > > On 29 Feb 2016, at 21:38, Uwe Schindler wrote: > >> Can you post the error? I touched that code yesterday. Maybe I broke that. >> It would still be good to fix this. >> >> Uwe >> >> Am 29. Februar 2016 21:08:50 MEZ, schrieb Alan Woodward <[email protected]>: >> Just in case anybody else out there runs into this, I was having problems >> compiling master earlier using Java 1.8.0_25, due to the compiler not liking >> an immediate assignment to a final variable in TSTLookup.java. Upgrading to >> 1.8.0_74 made the problem go away. >> >> >> >> -- >> Uwe Schindler >> H.-H.-Meier-Allee 63, 28213 Bremen >> http://www.thetaphi.de > > > -- > Uwe Schindler > H.-H.-Meier-Allee 63, 28213 Bremen > http://www.thetaphi.de > > -- > Uwe Schindler > H.-H.-Meier-Allee 63, 28213 Bremen > http://www.thetaphi.de > > -- > Uwe Schindler > H.-H.-Meier-Allee 63, 28213 Bremen > http://www.thetaphi.de
