My Oracle Support Banner

File Descriptors Leak when Using the XML Cryptography Methods (Doc ID 2728929.1)

Last updated on JUNE 29, 2021

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.


When a Java application uses the common XML cryptography API, such as javax.xml.crypto.dsig.XMLSignatureFactory, there is a risk for file descriptors to leak.

This risk is significant when the target XML file has files attached to it defined in the XML. For example:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.