[
https://issues.apache.org/jira/browse/FELIX-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jamie goodyear updated FELIX-1878:
----------------------------------
Attachment: felix-1778.patch
File: felix-1778.patch
Contains fixes for resource leaks and ignored exceptions.
The potential resource leaks are now closed in each path.
The possible SecurityExceptions are now caught and wrapped as regular
exceptions - this is in keeping with the current design (we can possibly come
back and add additional handling around security exceptions, but for now this
patch will consume their occurrence and continue operating as per normal).
> karaf.main.Main possible resource leaks and ignored exceptions from mkdirs().
> -----------------------------------------------------------------------------
>
> Key: FELIX-1878
> URL: https://issues.apache.org/jira/browse/FELIX-1878
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Reporter: Jamie goodyear
> Priority: Minor
> Attachments: felix-1778.patch
>
>
> karaf.main.Main possible resource leaks and ignored exceptions from mkdirs().
> Resource leaks:
> org.apache.felix.karaf.main.Main line 361
> org.apache.felix.karaf.main.Main line 383
> org.apache.felix.karaf.main.Main line 367
> Ignored exceptions:
> org.apache.felix.karaf.main.Main line 187
> org.apache.felix.karaf.main.Main line 376
> 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.