On Jul 16, 2007, at 6:43 PM, Pinaki Poddar wrote:
Meta.fieldTypes is declared as Class[]. They are accessed via PCRegistry::getFieldTypes(Class pcClass). The suggestion of "Change fieldTypes to be Strings instead" *perhaps* meant to change Meta.fieldTypes to String[] (as field type names). And only during PCRegistry::getFieldTypes() 'lazily' converting the String[]s to Class[]es (by the same ClassLoader of the PersistenceCapable class?).
Right, you'll need a ClassLoader to load from. Defaulting the the CL of the PersistenceCapable class might work (for Geronimo), but doesn't seem right either...
--kevan
