Maven 2 & 3

org.apache.maven.it.Verifier.loadProperties(..) does not close FileInputStream (relies upon finalizer being called)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.5
  • Component/s: Performance
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

The loadProperties(..) method in the Verifier class needs to close the FileInputStream.

See attached patch.

Activity

Hide
Vincent Siveton added a comment -

Patch applied. Thanks!

Show
Vincent Siveton added a comment - Patch applied. Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: