Ted Yu created KAFKA-3235: ----------------------------- Summary: Unclosed stream in AppInfoParser static block Key: KAFKA-3235 URL: https://issues.apache.org/jira/browse/KAFKA-3235 Project: Kafka Issue Type: Bug Reporter: Ted Yu Priority: Minor
{code} static { try { Properties props = new Properties(); props.load(AppInfoParser.class.getResourceAsStream("/kafka/kafka-version.properties")); version = props.getProperty("version", version).trim(); commitId = props.getProperty("commitId", commitId).trim(); {code} The stream returned by getResourceAsStream() should be closed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)