Differences between revisions 8 and 9
Revision 8 as of 2011-06-10 19:03:16
Size: 3660
Editor: pool-96-255-133-21
Revision 9 as of 2011-07-28 19:32:07
Size: 4110
Editor: pool-96-255-133-21
Comment: add more bugs
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
|| [[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738|7044738]] || [[https://issues.apache.org/jira/browse/LUCENE-3346|LUCENE-3346]] || readVInt() returns wrong results || 8-Fix Available, Medium || use Java 6 ||
|| [[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134|7070134]] || [[https://issues.apache.org/jira/browse/LUCENE-3335|LUCENE-3335]] || Porter Stemmer crashes JRE || 8-Fix Available, Low || -XX:-UseLoopPredicate ||

Sun Java Bugs

Sometimes Lucene runs amok of bugs in Sun's Java implementation. In certain cases we whittle it down to a small test case, open an issue with Sun, and hopefully Sun fixes it. In other cases we know the bug is in the JRE but we haven't narrowed it enough to open a bug with Sun. Sometimes we can work out a simple workaround in Lucene.

We try to open a Lucene mirror bug to provide details on how Lucene is affected, iterate on a compact test case for Sun, etc.

If you are affected by one of these issues that Sun has yet to accept or resolve, or simply have some spare votes, please consider adding your vote to the bug (on Sun's bug page):

Sun bug

Lucene mirror bug

Impact to Lucene

State, Priority




NIOFSDirectory has very poor performance on Windows

Accepted, Low

Use FSDirectory or MMapDirectory on Windows



You hit a false OutOfMemoryException when loading norms in an index with many docs

Accepted, Low

Locally patch Lucene to load large contiguous byte sequences in chunks



Index corruption

Fixed as of 1.6.0_10, High

Lucene code base has a workaround in it



MMapDirectory won't close files until GC (higher transient disk usage than other FSDir); MMapDirectory returns 0 bytes when used for read/write access in remote (SMB/CIFS) mount

Cause Known, Low

Use a different Directory implementation

(No sun bug yet)


SEGV during indexing, with Java 1.6 64 bit

(No compact test case yet)

None known

(No sun bug yet)

Discussed here and here

On 64 bit JREs, reading from files may hang (??)

(Still characterizing)

None known



No impact as of 3.1/4.0 -- we now avoid calling new String(int[], int, int)

Fix Delivered, Bug



Fix Delivered, High

xml-query-parser's XSLT transforms fail under some locales

Upgrade to Java 6, use a different JRE vendor, plug in an alternate, more up-to-date XSL engine like Apache XALAN, or set system property telling TransformerFactory to use the non byte-code generating bundled XSL engine in Java 5



readVInt() returns wrong results

not sure

Lucene code base has a workaround in it



readVInt() returns wrong results

8-Fix Available, Medium

use Java 6



Porter Stemmer crashes JRE

8-Fix Available, Low


JavaBugs (last edited 2015-01-09 11:45:24 by 96)