Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-622

Inputstream is not always closed by XMLSignatureInput

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java
    • None

    Description

      Hello,

      In the method updateOutputStream of the class XMLSignatureInput, the proxified InputStream is only closed in case of Exception (this code).

      IMO, the close call should be in a finally clause or did I miss the reason of only closing in the catch clause ?

      I'm able to reproduce the issue of the ticket SANTUARIO-344. I'm trying to sign a file, then deleting the original file.

      Regards,

      P.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            pvandenbroucke Pierrick Vandenbroucke
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: