Wicket
  1. Wicket
  2. WICKET-4359

Package resources leak file handles

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.5, 6.0.0-beta1
    • Component/s: wicket
    • Labels:
      None

      Description

      It seems 1.5.4 introduced a new file handle leak with PackageResource.
      lsof shows that there are opened input streams after using such resource.

        Issue Links

          Activity

          Martin Grigorov created issue -
          Hide
          Martin Grigorov added a comment -

          Reverted partially the improvement in Connections.close(Connection) to call connection.getInputStream().close() only for FileUrlConnection.
          Still don't close for remote connections (like HttpUrlConnection).

          Show
          Martin Grigorov added a comment - Reverted partially the improvement in Connections.close(Connection) to call connection.getInputStream().close() only for FileUrlConnection. Still don't close for remote connections (like HttpUrlConnection).
          Martin Grigorov made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.5.5 [ 12319052 ]
          Fix Version/s 6.0.0 [ 12315431 ]
          Resolution Fixed [ 1 ]
          Martin Grigorov made changes -
          Link This issue is duplicated by WICKET-4421 [ WICKET-4421 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          1h 58m 1 Martin Grigorov 25/Jan/12 14:21

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development