Does anyone know how to get at the data within and ArrayList using RMI. I have looked at the source code for ArrayList and the Object Array elementData is a transient variable. Therefor when elementData is not serialized when a call for it is made through RMI. I have tried using:
to get around the fact that elementData is transient. But then I run into the problem that the Object class is not serializable. I have been searching for some time now and have not found an answer or a workaround. Does anyone here know a solution?
Thanks much
-trispad
Code:
private final ObjectStreamField serialPersistentFields = new
ObjectStreamField( "elementData", Object.class );
Thanks much
-trispad
Comment