synchronoss / cpo-api

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

Investigate: CpoClass.getMetaClass() #3

Closed mbellomo closed 10 years ago

mbellomo commented 10 years ago

It's possible that you can call this method and get a metaClass object that's half built. This is due to the implementation of CpoClass.loadRunTimeInfo that sets the class variable (metaClass) and then loads the attributes.

This might need to change. Currently it's only used in places that are in synchronization blocks, but it's too easy to use the method and cause an issue