Prateek Rungta created CSV-197:

             Summary: CSVParser doesn't close the underlying handle after 
                 Key: CSV-197
             Project: Commons CSV
          Issue Type: Bug
          Components: Parser
            Reporter: Prateek Rungta
            Priority: Minor

The following code leaks file handles:
CSVParser parser = // setup parser
for (CSVRecord rec: parser) {
// leak

I'd expect the underlying iterator to close() if it's finished iterating. 

This message was sent by Atlassian JIRA

Reply via email to