Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-47

Audit and fix resource leaks

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.97
    • 1.0-alpha1
    • None
    • None
    • Windows 7, Java 1.7.0.1, 0.97-Incubator

    Description

      The attached image is somehow corrupt (it still can be opened with IrfanView).

      Trying to read the image information with Sanselan.getImageInfo(file) results in an IOException.

      After this the image is still locked on the file system, and can't be deleted for example. I expected it to be immediately get unlocked on the file system, after the error occured.

      Attachments

        1. 380440_295155317172029_185275861493309_985773_37867068_n.bmp
          2.89 MB
          Adrian Moerchen
        2. finbugs.patch
          0.5 kB
          Adrian Moerchen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            adrian2k7 Adrian Moerchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment