Skip to content

Improvement: Prevent potential resource leak in CoreEvents.java (OFBIZ-13421)#1241

Merged
dixitdeepak merged 1 commit into
apache:trunkfrom
chandan-khandelwal:OFBIZ-13421
May 22, 2026
Merged

Improvement: Prevent potential resource leak in CoreEvents.java (OFBIZ-13421)#1241
dixitdeepak merged 1 commit into
apache:trunkfrom
chandan-khandelwal:OFBIZ-13421

Conversation

@chandan-khandelwal

Copy link
Copy Markdown
Contributor

Improved: Prevent potential resource leak in CoreEvents.java
(OFBIZ-13421)

Refactor streamFile in CoreEvents.java to use try-with-resources. This prevents a potential file descriptor resource leak if the file streaming process throws an Exception.

@dixitdeepak dixitdeepak merged commit b06ac9e into apache:trunk May 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants