Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
framework-3.0.6
-
None
-
Affects Felix running on Android
Description
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.