Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034507Openbravo ERPA. Platformpublic2016-11-14 19:092017-12-27 09:44
caristu 
collazoandy4 
hightrivialalways
closedduplicate 
5
 
3.0PR17Q3 
vmromanos
Core
No
0034507: Unneeded lock in processButtonReg and processButtonClose methods of EndYearCloseUtility
Private methods processButtonReg and processButtonClose in EndYearCloseUtility should not be declared as synchronized.

They are being invoked once by processYearClose method which it is already a synchronized method.
In description
multiThread
duplicate of defect 0034512 closed AtulOpenbravo [clustering] Close year process is locked just at JVM level 
blocks design defect 0034664 acknowledged Triage Platform Base multi thread unsafeties 
Issue History
2016-11-14 19:09caristuNew Issue
2016-11-14 19:09caristuAssigned To => platform
2016-11-14 19:09caristuModules => Core
2016-11-14 19:09caristuTriggers an Emergency Pack => No
2016-11-14 19:09caristuRelationship addedblocks 0034490
2016-11-14 19:10caristuSummary[clustering Private methods processButtonReg and processButtonClose in EndYearCloseUtility should not be syncrhonized => [clustering] Private methods processButtonReg and processButtonClose in EndYearCloseUtility should not be syncrhonized
2016-11-14 19:12caristuSummary[clustering] Private methods processButtonReg and processButtonClose in EndYearCloseUtility should not be syncrhonized => [clustering] Unneeded lock in processButtonReg and processButtonClose methods of EndYearCloseUtility
2016-11-15 11:10caristuTag Attached: clustering
2016-11-16 16:35alostaleTag Detached: clustering
2016-11-16 16:35alostaleRelationship deletedblocks 0034490
2016-11-16 16:35alostaleTag Attached: multiThread
2016-11-16 16:36alostaleSummary[clustering] Unneeded lock in processButtonReg and processButtonClose methods of EndYearCloseUtility => Unneeded lock in processButtonReg and processButtonClose methods of EndYearCloseUtility
2016-12-01 11:57alostaleAssigned Toplatform => Triage Finance
2016-12-01 11:58alostaleRelationship addedblocks 0034664
2017-12-26 11:29vmromanosStatusnew => scheduled
2017-12-26 11:29vmromanosAssigned ToTriage Finance => collazoandy4
2017-12-26 21:26collazoandy4Note Added: 0101259
2017-12-27 09:44vmromanosReview Assigned To => vmromanos
2017-12-27 09:44vmromanosRelationship addedduplicate of 0034512
2017-12-27 09:44vmromanosStatusscheduled => closed
2017-12-27 09:44vmromanosResolutionopen => duplicate
2017-12-27 09:44vmromanosFixed in Version => 3.0PR17Q3

Notes
(0101259)
collazoandy4   
2017-12-26 21:26   
This issue was already fixed by the changeset https://code.openbravo.com/erp/devel/pi/rev/6bf3013c651b [^]