Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Created] (LUCENE-4058) clean up MockDirectoryWrapper.close()

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

May 14, 2012, 3:36 PM

Post #1 of 1 (51 views)
Permalink
[jira] [Created] (LUCENE-4058) clean up MockDirectoryWrapper.close()

https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rcmuir"]Robert Muir created https://issues.apache.org/jira/browse/LUCENE-4058"]LUCENE-4058 https://issues.apache.org/jira/browse/LUCENE-4058"]clean up MockDirectoryWrapper.close() Issue Type: Sub-task Affects Versions: 4.0 Assignee: Unassigned Components: general/test Created: 14/May/12 22:35 Description:

background on https://issues.apache.org/jira/browse/LUCENE-4047"]LUCENE-4047.

MockDirectoryWrapper.close() should always try to close its wrapped resources in a finally block, even if its going to throw exceptions.

Otherwise if lots of tests fail, resources could pile up (e.g. RAMDirs). Project: https://issues.apache.org/jira/browse/LUCENE"]Lucene - Java Priority: Major Reporter: https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rcmuir"]Robert Muir 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"]http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe [at] lucene For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.