You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/11/26 10:46:39 UTC
[jira] Resolved: (FELIX-1877) karaf.main.BootstrapLogManager
possible resource leak and ignored exception in open method.
[ https://issues.apache.org/jira/browse/FELIX-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-1877.
------------------------------------
Resolution: Fixed
Fix Version/s: karaf-1.2.0
Assignee: Guillaume Nodet
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M karaf/main/src/main/java/org/apache/felix/karaf/main/BootstrapLogManager.java
Committed r884480
> karaf.main.BootstrapLogManager possible resource leak and ignored exception in open method.
> -------------------------------------------------------------------------------------------
>
> Key: FELIX-1877
> URL: https://issues.apache.org/jira/browse/FELIX-1877
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Jamie goodyear
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: karaf-1.2.0
>
> Attachments: felix-1877.patch
>
>
> May fail to close stream:
> o.a.f.k.main.bootstrapLogManager.getDefaultHandler() line 54
> Need to close java.io.inputStream.
> Method ignores excetional return value:
> o.a.f.k.main.BootstrapLogManager$SimpleFileHandler.open(File, boolean) line 90
> Called method java.io.File.mkdirs().
> Capture possible exception.
> Issues detected during run of static analysis tool.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.