-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Milestone
Description
Kristian Rosenvold opened SWS-783 and commented
The method "createInputSource" in SaxUtils leaks the input stream in
InputSource inputSource = new InputSource(resource.getInputStream());
While this might be considered a small nuisance, it becomes a PITA on Windows, because the "SimpleXsdSchema" uses this method and therefore locks the "xsd" file in the file system, which is a pain when running "mvn clean install" because clean fails because the XSD/WSDL file is locked.
There are basically 4 non-test usages of this method that need to be reworked to avoid leaking file handles.
Affects: 2.1 GA
Attachments:
- Added_closeable_support_to_saxutils.patch (13.29 kB)
- Added_closeable_support_to_saxutils1-v2.patch (17.67 kB)
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid