logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58062] New: Close IO Streams in finally statement
Date Sat, 20 Jun 2015 15:22:49 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58062

            Bug ID: 58062
           Summary: Close IO Streams in finally statement
           Product: Log4j
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Other
          Assignee: log4j-dev@logging.apache.org
          Reporter: tgttxy@163.com

The problem here is that if an exception is thrown during the read process the
method will exit without closing the stream and hence without releasing the
file system resources, it may run out of resources before it does run.I will
make a commit in github right now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message