Summary: | ConcurrentModificationException in XMLUtils | ||
---|---|---|---|
Product: | Security - Now in JIRA | Reporter: | mirko |
Component: | Signature | Assignee: | XML Security Developers Mailing List <security-dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | Java 1.4.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
patch
2nd patch |
Description
mirko
2009-09-03 06:00:21 UTC
Created attachment 24204 [details]
patch
Created attachment 24205 [details]
2nd patch
fixes the same problem in another method
Good catch! Would it not be better to just declare namePrefixes as: Collections.synchronizedMap(new HashMap()); That would remove the call to Collections.unmodifiableMap each time the method is invoked, as well as the synchronized block. Colm. Fix applied. Colm. Fix applied. Colm. |