Re: Generics and 5.3.3
Re: Generics and 5.3.3
- Subject: Re: Generics and 5.3.3
- From: Kieran Kelleher <email@hidden>
- Date: Fri, 25 Jul 2008 08:05:08 -0400
Simple Answer: NSArray does not support generics in 5.3.3
However, Wonder ERExtensions framework has a patched NSArray which
does support it. To use ERJavaMail, you need ERExtensions, ERJars and
ERJavaMail IIRC. So put them all in your classpath and put
ERExtensions before WebObjects foundation in classpath and NSArray
generics should work.
On Jul 24, 2008, at 11:24 PM, Kevin Avoy wrote:
I upgraded to the 'Wonder-latest-Frameworks-53'.
I am using ERJavaMail.framework.
When I build my app, I get the error:
setToAddresses(com.webobjects.foundation.NSArray<java.lang.String>)
in er.javamail.ERMailDelivery cannot be applied to
(com.webobjects.foundation.NSArray)
When I attempt to define my array as a generic:
protected NSArray<String> toAddresses;
I get the error:
type com.webobjects.foundation.NSArray does not take parameters
Does NSArray support generics in 5.3.3?
_______________________________________________
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