Re: WebObjects 5.4 is out.
Re: WebObjects 5.4 is out.
- Subject: Re: WebObjects 5.4 is out.
- From: Mike Schrag <email@hidden>
- Date: Sat, 27 Oct 2007 06:38:01 -0400
The error: "The method arrayByAddingObjectsFromArray(NSArray<EOProperty>) in the type NSArray<EOProperty> is not applicable for the arguments (NSArray<EOAttribute>)". Say what?! An EOAttribute is an EOProperty!
This is a bug in 5.4 -- Wonder had this same bug in our generic form of NS* originally, but it is fixed in Wonder. The proper declaration of arrayByAddingObjectsFromArray should be: public NSArray<E> arrayByAddingObjectsFromArray(NSArray<? extends E> otherArray) {
not
public NSArray<E> arrayByAddingObjectsFromArray(NSArray<E> otherArray) {
which is most likely what 5.4 has it declared as. You will find that quite a few other methods likely also have this same bug (ours did as well). Incidentally, people using Project Wonder will not see this bug, because our generic NS* will still override 5.4's.
ms |
_______________________________________________
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