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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to