synchronoss / cpo-api

Class Persistence Object (CPO) Application Programming Interface (API).
GNU Lesser General Public License v2.1
3 stars 3 forks source link

Race Condition in runtime info loading #2

Closed mbellomo closed 10 years ago

mbellomo commented 10 years ago

There's a race condition that's been identified in the loading of runtime data. The issue is in CpoMetaDescriptor.getMetaClass(). The if check wrapping the call to CpoClass.loadRunTimeInfo() can be skipped if the meta class is not null, but the attributes have not been fully populated yet.