[jboss-jira] [JBoss JIRA] (WFWIP-129) SmallRye Metrics - JmxRegistrar - InputStream not closed

Rostislav Svoboda (Jira) issues at jboss.org
Fri Nov 2 04:17:00 EDT 2018


Rostislav Svoboda created WFWIP-129:
---------------------------------------

             Summary: SmallRye Metrics - JmxRegistrar - InputStream not closed 
                 Key: WFWIP-129
                 URL: https://issues.jboss.org/browse/WFWIP-129
             Project: WildFly WIP
          Issue Type: Bug
          Components: MP Metrics
            Reporter: Rostislav Svoboda
            Assignee: Jeff Mesnil


https://github.com/smallrye/smallrye-metrics/blob/master/implementation/src/main/java/io/smallrye/metrics/setup/JmxRegistrar.java#L58

I think InputStream {{propertiesResource}} needs to be explicitly closed.

https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html#load-java.io.InputStream- says: The specified stream remains open after this method returns.




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list