NSArray bug
NSArray bug
- Subject: NSArray bug
- From: Stamenkovic Florijan <email@hidden>
- Date: Tue, 21 Apr 2009 16:13:28 -0400
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