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
Fix For: framework-3.2.0
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.