Re: [jira] [Updated] (LUCENE-2989) TestCollectionUtil fails on IBM JRE

2011-03-24 Thread Robert Muir
On Thu, Mar 24, 2011 at 2:28 PM, Chris Hostetter wrote: > > : 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 no

Re: [jira] [Updated] (LUCENE-2989) TestCollectionUtil fails on IBM JRE

2011-03-24 Thread Dawid Weiss
If I can add my two cents, I recall there were various problems with Collections.emptyList() not overriding equals and hashCode properly (so that a comparison to another empty list, but of a different class was yielding false). Dawid On Thu, Mar 24, 2011 at 7:28 PM, Chris Hostetter wrote: > > :

Re: [jira] [Updated] (LUCENE-2989) TestCollectionUtil fails on IBM JRE

2011-03-24 Thread Chris Hostetter
: 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

[jira] [Updated] (LUCENE-2989) TestCollectionUtil fails on IBM JRE

2011-03-24 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2989: -- Fix Version/s: 4.0 3.2 3.1.1 > TestCollectionUtil fails

[jira] [Updated] (LUCENE-2989) TestCollectionUtil fails on IBM JRE

2011-03-24 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2989: -- Attachment: LUCENE-2989.patch The issue is a bug in IBM's Collections class. The List returned