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

JarRevision does not close URLConnections which are instances of HttpURLConnection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • framework-3.0.6
    • framework-3.0.7
    • Framework
    • 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.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            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