: The issue is a bug in IBM's Collections class. The List returned by 
: emptyList() does not implement RandomAccess.
: 
: I fixed the test (unfortunately it's clear that emptyList() should 
: return a random access list, but it's not in the spec, so it's not 
: really IBM's fault). The fix is to use a realy empty Array and wrap it 
: with Arrays.asList().

Should this make us rethink using Collections.emptyList() in the code 
base?  Should we be roling our own?



-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to