Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1149211

Summary: InputStreams not properly closed when reading resources
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Radim Hatlapatka <rhatlapa>
Component: WebAssignee: Rémy Maucherat <rmaucher>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Cada <mcada>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4.0   
Target Milestone: DR5   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:46:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1149776    
Bug Blocks:    
Attachments:
Description Flags
patch for resource leaks for properties loading found by coverity
none
patch for resource leaks for properties loading found by coverity none

Description Radim Hatlapatka 2014-10-03 14:10:04 UTC
Created attachment 943724 [details]
patch for resource leaks for properties loading found by coverity

Description of problem:
When reading properties from file the InputStreams aren't properly closed. See attached patch.

Comment 1 Radim Hatlapatka 2014-10-03 14:16:00 UTC
Created attachment 943725 [details]
patch for resource leaks for properties loading found by coverity

Comment 2 Rémy Maucherat 2014-10-03 14:37:45 UTC
Excuse me, but at this point in the life of the project, I would suggest focusing on real bugs (= stuff with some amount of impact) rather than minor cleanups.

Comment 4 Rémy Maucherat 2014-10-03 15:11:11 UTC
r2514 in web.

Comment 5 Kabir Khan 2014-10-08 12:17:37 UTC
Should be fixed by component upgrade to 7.5.0.Beta3 1149776

Comment 6 Radim Hatlapatka 2014-10-20 16:02:10 UTC
Verified in EAP 6.4.0.DR5