Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

#Bug 58062 Close IO Streams in finally statement #2

Open
wants to merge 1 commit into
base: BRANCH_1_3_ABANDONED
Choose a base branch
from

Conversation

xinyeah
Copy link

@xinyeah xinyeah commented Jun 20, 2015

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

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

lsimons commented Dec 17, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants