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

Submitter:  Per Cederberg <cederberg>
Submitted:  Sat 04 Apr 2009 08:40:10 AM UTC
Severity:  2 - Normal Item Group:  Software
Status:  None Assigned to:  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>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13.
    Corresponding source code