bugGrammatica - Bugs: bug #26081, Input streams are not closed when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #26081: Input streams are not closed when parse errors are encountered

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Sat 04 Apr 2009 08:40:10 AM UTC  
 
Severity: 2 - NormalItem Group: Software
Status: NoneAssigned to: Per Cederberg <cederberg>
Open/Closed: Open

Sat 04 Apr 2009 08:40:10 AM UTC, original submission:

When one or more parse errors are encountered, a ParserLogException is thrown. However, if the parser failed to read to the end of file, the input file stream will not be properly closed.

This is easy enough to fix by adding a finally clause inside the Parser.parse() method.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cederberg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1