lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3927) allow running trunk tests with IBM JRE
Date Tue, 27 Mar 2012 08:21:30 GMT


Robert Muir commented on LUCENE-3927:

The hack in the patch is not hardcoded at all IBM: it checks if the impersonation actually
works too.
Constants.JAVA_VENDOR.startsWith("IBM") && (!(Codec.forName("Lucene3x") instanceof

For other JREs we still throw an assertion error saying to fix your classpath.

But again, we don't necessarily need to commit this patch. Again more interesting is the fact
with the patch, if i run tests I get 'too many open files' from TestShardSearching, and I
get test
failures from Solr's CSV support...

> allow running trunk tests with IBM JRE
> --------------------------------------
>                 Key: LUCENE-3927
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3927.patch
> This is currently not possible because of how the SPI loader works,
> we cannot simulate Lucene3x codec with PreFlexRWCodec.
> But we should still allow basic testing (even though we cannot test preflex).
> After hacking around the issue, I get interesting fails with this JRE so I think its
worth it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message