• 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: The type NSMutableArray is not generic; it cannot be parameterized with arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments


  • Subject: Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments
  • From: Jeff Schmitz <email@hidden>
  • Date: Tue, 22 Apr 2008 20:59:32 -0500

I'm pretty sure it's purely a versioning problem. NSMutableArray didn't become generic until WO5.4. If you want to know about Java Generics I'd suggest googling on the subject. There is LOTS of info on it.

Jeff

On Apr 22, 2008, at 8:39 PM, Archibald Singleton wrote:

HI All,

OK, I'm stuck.

I'm trying to make some Apple provided WO examples to work. The examples came with WO 5.4 but I'm running WO 5.3.(I could switch to using 5.4 just to run the examples but I'd like to understand what's going on)

I keep getting the above error message even though I've included Wonder JavaWOExtensions as both a project and a frameworks in the examples project (using the Java Build Path project properties.
Since JavaWOExtensions provides an implementation of NSArray with generics I would expect this the the example code would pick that implementation. Apparently it doesn't.


So I guess my question is why?!?

Does Wonder have to do some behind the scene patching to make the JavaWOExtensions classes supersedes those in the regular WO frameworks? And if so would someone points me to where it does this in the code?

Any help will be greatly appreciated.

= tmk =

PS: I know that WO 5.4 now provides an implementation of NSArray and friends with generics._______________________________________________
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: 
 >The type NSMutableArray is not generic; it cannot be parameterized with arguments (From: Archibald Singleton <email@hidden>)

  • Prev by Date: The type NSMutableArray is not generic; it cannot be parameterized with arguments
  • Next by Date: Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments
  • Previous by thread: The type NSMutableArray is not generic; it cannot be parameterized with arguments
  • Next by thread: Re: The type NSMutableArray is not generic; it cannot be parameterized with arguments
  • Index(es):
    • Date
    • Thread