Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIn:Fix a thread-safe problem in flat file driver & XML driver(2.1.2)

-          Summary:

CheckIn:Fix a thread-safe problem in flat file driver & XML driver(2.1.2)


- Bugzilla Bug (s) Resolved:
 

-          Description:

The "DataUtil.toDate()" method in xml driver is not thread safe, for it use static instance of icu's SimpleDateFormat class, which is not thread-safe.
 
Add synchronized keyword to the method signature to fix the problem.
                                                              
This also apply to flat file driver.

 

- Tests Description:
No.


- Files Edited:

org.eclipse.birt.report.data.oda.xml\src\org\eclipse\birt\report\data\oda\xml\util\date\DateUtil.java

org.eclipse.datatools.connectivity.oda.flatfile\src\org\eclipse\datatools\connectivity\oda\flatfile\util\DateUtil.java

 

- Files Added:

 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

 

 


Back to the top