Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-214

[javaflow] FileOutputStream is not closed

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Javaflow
    • Labels:
      None

      Description

      The method dump of the class BcelClassTransformer creates an IO stream object and does not appear to close the stream on all paths out of the method. This may result in a file descriptor leak. It is generally a good idea to use a finally block to ensure that streams are closed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pmay Philip May

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment