Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2728

JarRevision does not close URLConnections which are instances of HttpURLConnection

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: framework-3.0.6
    • Fix Version/s: framework-3.0.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      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.

        Attachments

          Activity

            People

            • Assignee:
              rickhall Richard S. Hall
              Reporter:
              brucej Bruce Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified