[jboss-jira] [JBoss JIRA] (WFCORE-3115) ProductConfig does not close stream to manifest
Brian Stansberry (JIRA)
issues at jboss.org
Wed Jul 26 18:09:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-3115:
-------------------------------------
Description:
This stream is not closed:
{code}
InputStream stream = module.getClassLoader().getResourceAsStream("META-INF/MANIFEST.MF");
Manifest manifest = null;
if (stream != null) {
manifest = new Manifest(stream);
}
{code}
Perhaps this is the cause of JBEAP-12366
was:
This stream is not closed:
{code}
InputStream stream = module.getClassLoader().getResourceAsStream("META-INF/MANIFEST.MF");
Manifest manifest = null;
if (stream != null) {
manifest = new Manifest(stream);
}
{code}
Perhaps this is the cause of JBEAP-12366
> ProductConfig does not close stream to manifest
> -----------------------------------------------
>
> Key: WFCORE-3115
> URL: https://issues.jboss.org/browse/WFCORE-3115
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 3.0.0.Beta29
>
>
> This stream is not closed:
> {code}
> InputStream stream = module.getClassLoader().getResourceAsStream("META-INF/MANIFEST.MF");
> Manifest manifest = null;
> if (stream != null) {
> manifest = new Manifest(stream);
> }
> {code}
> Perhaps this is the cause of JBEAP-12366
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list