You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2012/09/20 11:19:07 UTC
[jira] [Updated] (SANTUARIO-344) XMLSignature keeps file-handle on
xml-file
[ https://issues.apache.org/jira/browse/SANTUARIO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh updated SANTUARIO-344:
------------------------------------------
Fix Version/s: Java 1.5.3
> XMLSignature keeps file-handle on xml-file
> ------------------------------------------
>
> Key: SANTUARIO-344
> URL: https://issues.apache.org/jira/browse/SANTUARIO-344
> Project: Santuario
> Issue Type: Bug
> Components: Java
> Affects Versions: Java 1.5.1
> Environment: Windows (XP, 7)
> Reporter: Andreas B.
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: Java 1.5.3
>
>
> When creating a signature based on a XML file (i.e. calling the method {{org.apache.xml.security.signature.XMLSignature.sign(Key signingKey)}}) the filehandle to the signed resource (the XML file) stays open after the method has finished (successfully).
> I was able to track it down to the above mentioned method, but then get lost somewhere at {{org.apache.xml.security.signature.Reference}}, which seems to use a cache for resource.
> Background: I want to delete the source-file after signature generation, which is not possible until the VM stops.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira