Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
odfdom-0.8.7
-
None
-
None
-
Operating System: Windows
Platform: PC
-
359
Description
Load two documents concurrently may run into endless loops again and again. The reason seems to be a corruption of the HashMap mElementTypes in the Class OdfXMLFactory, which causes the call classCache.get(odfName) to infinitely loop within line 303 of HashMap.
We will consider using ConcurrentHashMap to replace HashMap if necessary.
BTW: setOdfElementClass and setOdfAttributeClass are not used. I think we need to improve it.
Thanks Colin discovered and reported this bug.
Devin