• 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: NSArray bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray bug


  • Subject: Re: NSArray bug
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 21 Apr 2009 16:20:11 -0400

yes, the impl is wrong in 5.4 ... q fixed this in Wonder's a couple weeks ago

On Apr 21, 2009, at 4:13 PM, Stamenkovic Florijan wrote:

Please confirm:

NSArray<SomeEO>  children = someEO.children();

SomeEO[] childrenArray = children.objects(); // compiles, no warning, throws ClassCastException (Object[]) at runtime
SomeEO[] childrenArray = children.toArray(new SomeEO[children.count()]); // works fine



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


_______________________________________________
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


  • Follow-Ups:
    • [SOLVED] Re: NSArray bug
      • From: Stamenkovic Florijan <email@hidden>
References: 
 >NSArray bug (From: Stamenkovic Florijan <email@hidden>)

  • Prev by Date: Re: AjaxModalContainer question..
  • Next by Date: [SOLVED] Re: NSArray bug
  • Previous by thread: NSArray bug
  • Next by thread: [SOLVED] Re: NSArray bug
  • Index(es):
    • Date
    • Thread