Resource Leakage In DOMWebXMLParser.servletContainerIntializerScan

Description

Eclipse is reporting that the InputStream/BufferedReader created in DOMXMLWebParser (lines 345,346)
are never closed:

in = url.openStream();
r = new BufferedReader(new InputStreamReader(in, "utf-8");

We should make sure that these resources are closed in all scenarios.

Environment

None

Status

Assignee

Achim Nierbeck

Reporter

G

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure