logging-log4j1 icon indicating copy to clipboard operation
logging-log4j1 copied to clipboard

#Bug 58062 Close IO Streams in finally statement

Open xinyeah opened this issue 10 years ago • 1 comments

Place the close method in the finally clause, so we can ensure it always runs regardless of how the method exits.

xinyeah avatar Jun 20 '15 15:06 xinyeah

Hi, thanks for the contribution! While this looks like a good improvement, log4j 1.x is end-of-life so this kind of maintenance is not being done unless it fixes a critical security issue, which I think is not the case here. See https://logging.apache.org/log4j/1.2/ for more information. I think this PR can be closed.

lsimons avatar Dec 17 '21 17:12 lsimons