incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Hopf (JIRA)" <>
Subject [jira] [Updated] (ODFTOOLKIT-201) HashMap leads to endless loop in OdfXMLFactory.
Date Wed, 19 Dec 2012 06:05:18 GMT


Florian Hopf updated ODFTOOLKIT-201:

    Fix Version/s:     (was: odfdom-0.8.7)
> HashMap leads to endless loop in OdfXMLFactory.
> -----------------------------------------------
>                 Key: ODFTOOLKIT-201
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: java
>    Affects Versions: odfdom-0.8.7
>         Environment: Operating System: Windows
> Platform: PC
>            Reporter: devin
>            Assignee: issues
> 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
> Thanks Colin discovered and reported this bug.
> Devin

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:

View raw message