Re: NSArray bug
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
References: | |
| >NSArray bug (From: Stamenkovic Florijan <email@hidden>) |