https://issues.apache.org/bugzilla/show_bug.cgi?id=47412

           Summary: Concurrency issues in EscherProperties.initProps()
           Product: POI
           Version: 3.5-dev
          Platform: PC
               URL: http://mail-archives.apache.org/mod_mbox/poi-dev/20090
                    6.mbox/<[email protected]
                    anslate.de>
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The field 'properties' on class EscherProperties is initialised lazily but
there is nothing stopping a second thread reading the map while it is still
being populated.  To be absolutely correct, some sort of synchronization is
necessary.  Since this map initialisation is relatively simple and
light-weight, there should be no problem with performing it in the class static
initialiser.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to