GeneralPath and thus OMGraphicList not serializable anymore

From: <chrisvanlith@b3partners.nl>
Date: Mon Sep 23 2002 - 09:56:51 EDT

Hello list,

I am currently migrating my application from openmap 4.4.2 to openmap
4.5.3.
The application uses serialization of the OMGraphicList.
Now I found that BasicGeometry is not serializable because GeneralPath is
not serializable.
After making the GeneralPath instance shape transient, it all worked
again.
I hope this is useful for you and if I need to change the code in other
spots as well I would welcome any suggestions.

Class BasicGeometry
line 88: protected transient GeneralPath shape = null;

Met vriendelijke groeten,

Chris van Lith

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Sep 23 09:59:48 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT