• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCoder capabilities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSCoder capabilities (From: Florijan Stamenkovic <email@hidden>)

  • Prev by Date: Re: Vertical inheritance with a non-abstract superclass
  • Next by Date: Re: What's better JavaEOGenerator or Velocity
  • Previous by thread: NSCoder capabilities
  • Next by thread: Why im getting this error?
  • Index(es):
    • Date
    • Thread