Vytek / xades4j

Automatically exported from code.google.com/p/xades4j
GNU Lesser General Public License v3.0
0 stars 0 forks source link

junit test XadesVerifierImplTest.testVerifyDetachedC leaks a FileInputStream #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The junit test XadesVerifierImplTest.testVerifyDetachedC() leaks a 
FileInputStream. At the current stage of development of XAdES4J, we must rely 
on junits for examples and best practices. Updating the junit would remind 
people that SignatureSpecificVerificationOptions.useDataForAnonymousReference() 
does not close the stream. 

What is the expected output? What do you see instead?
A call to close the InputStream.

What version of the product are you using? On what operating system?
1.2.0
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by clementp...@gmail.com on 8 Nov 2011 at 4:35

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 11 Nov 2011 at 11:33