JDK-6764553 : com.sun.org.apache.xml.internal.security.utils.IdResolver is not thread safe
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Affected Version: 6,7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2008-10-28
  • Updated: 2012-10-24
  • Resolved: 2008-11-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u12 b01Fixed 7Fixed
com.sun.org.apache.xml.internal.security.utils.IdResolver is not thread-safe. It uses an unsynchronized WeakHashMap to store id/element mappings. Multiple threads running in parallel that use this class to register and retrieve id mappings can exhibit erratic behavior.

EVALUATION Yes, this is a bug and it has no workaround.