[ 
https://issues.apache.org/jira/browse/FELIX-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard S. Hall updated FELIX-2728:
-----------------------------------

    Fix Version/s:     (was: framework-3.2.0)
                   framework-3.0.7

> JarRevision does not close URLConnections which are instances of 
> HttpURLConnection
> ----------------------------------------------------------------------------------
>
>                 Key: FELIX-2728
>                 URL: https://issues.apache.org/jira/browse/FELIX-2728
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.6
>         Environment: Affects Felix running on Android
>            Reporter: Bruce Jackson
>            Assignee: Richard S. Hall
>             Fix For: framework-3.0.7
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Android (unlike the regular JDK) does not clean up and close 
> HttpURLConnection objects properly which can cause all manner of problems.
> The initialize() method in JarRevision creates a URLConnection but never 
> closes it because close() is only present in HttpURLConnection. We need a 
> modified class which checks for the URLConnection being of type 
> HttpURLConnection, and will correctly close() it at the end of the method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to