Re: GeneralPath and thus OMGraphicList not serializable anymore

From: Don Dietrick <dietrick@bbn.com>
Date: Mon Sep 23 2002 - 13:53:16 EDT

Whoops! My bad. Thanks for pointing that out!

- Don

On Monday, September 23, 2002, at 09:56 AM, chrisvanlith@b3partners.nl
wrote:

>
> 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
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 13:54:11 2002

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