Re: NSCoder capabilities
Re: NSCoder capabilities
- Subject: Re: NSCoder capabilities
- From: Lachlan Deck <email@hidden>
- Date: Tue, 11 Mar 2008 07:03:07 +1100
On 11/03/2008, at 6:20 AM, Florijan Stamenkovic wrote:
I'm doing some RMI from my client application, and attempted to
transfer java.util.ArrayList instances containing Strings, Numbers,
other rawish objects and EOKeyGlobalIDs. I get an
"java.lang.IllegalArgumentException: encodeObject: unable to encode
object of class java.util.ArrayList"... Which I guess implies that
I can't use Lists to transfer multiple objects... Switching to
NSArray makes it work.
So, I guess NSCoder can encode simple Java objects such as Strings,
Numbers and Dates, and foundation type objects... Considering that
WO is moving towards standard Java types, should this be reported
as a bug?
Yes. (Unless 5.4 already does this right)
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden