On Fri, Sep 9, 2011 at 6:50 PM, Koji Sekiguchi <k...@r.email.ne.jp> wrote: >>> Also: what java version are they running? We added this check >>> originally as a workaround for a JRE bug... but usually when that bug >>> strikes the file size is very close (like off by just 1 byte or 8 >>> bytes or something). >> >> I think they are using 1.6, but I should ask the minor number. >> Could you show me the pointer of the JRE bug you mentioned? > > I found: > > https://issues.apache.org/jira/browse/LUCENE-1282 > https://issues.apache.org/jira/browse/LUCENE-1869
Yes, it's LUCENE-1282! Somehow hotspot had trouble properly compiling an if statement embedded in a for loop when that if statement "rarely" changes its condition. But I believe it was fixed by 1.6.0_10. Mike McCandless http://blog.mikemccandless.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org