[
https://issues.apache.org/jira/browse/LUCENE-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Weiss updated LUCENE-4901:
--------------------------------
Attachment: LUCENE-4901.patch
A version with runtime.halt() fallback for JVMs on which unsafe npe doesn't
crash.
I also fixed the stream pumping from subprocess; previously it could have hung
if something was printed to stderr (due to blocked pipe).
> TestIndexWriterOnJRECrash should work on any JRE vendor via Runtime.halt()
> --------------------------------------------------------------------------
>
> Key: LUCENE-4901
> URL: https://issues.apache.org/jira/browse/LUCENE-4901
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/test
> Environment: Red Hat EL 6.3
> IBM Java 1.6.0
> ANT 1.9.0
> Reporter: Rodrigo Trujillo
> Assignee: Dawid Weiss
> Priority: Minor
> Fix For: 5.0, 4.4
>
> Attachments: LUCENE-4901.patch, LUCENE-4901.patch,
> test-IBM-java-vendor.patch
>
>
> I successfully compiled Lucene 4.2 with IBM.
> Then ran unit tests with the nightly option set to "true"
> The test case TestIndexWriterOnJRECrash was skipped returning "IBM
> Corporation JRE not supported":
> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterOnJRECrash
> [junit4:junit4] IGNOR/A 0.28s | TestIndexWriterOnJRECrash.testNRTThreads
> [junit4:junit4] > Assumption #1: IBM Corporation JRE not supported.
> [junit4:junit4] Completed in 0.68s, 1 test, 1 skipped
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]