Kaloyan Spiridonov created LOGGING-163: ------------------------------------------
Summary: BufferedReader is not closed properly Key: LOGGING-163 URL: https://issues.apache.org/jira/browse/LOGGING-163 Project: Commons Logging Issue Type: Bug Affects Versions: 1.1.1 Reporter: Kaloyan Spiridonov In LogFactory class at line 552 there is BufferedReader that is not closed properly. For example if rd.readLine(); throw an exception then the Reader will remain open. BufferedReader rd; try { rd = new BufferedReader(new InputStreamReader(is, "UTF-8")); } catch (java.io.UnsupportedEncodingException e) { rd = new BufferedReader(new InputStreamReader(is)); } String factoryClassName = rd.readLine(); rd.close(); -- This message was sent by Atlassian JIRA (v6.3.4#6332)