Hi Gavin,

> Am 03.01.2016 um 23:54 schrieb Gavin Eadie <[email protected]>:
> 
> I’ve been away from my WebObjects project for nearly a year and returned to 
> it to move it from SourceForge to GitHub.  In the process I upped to the 
> latest Wonder, Eclipse and Java 8.  I got surprising few places that I needed 
> to make adjustments, but one caught me out.
> 
> What was:
>    NSArray<String>   result = new NSArray<String>("YYYY", "ZZZZ“);

that still works for me.

> needed changed to:
>    NSArray<String>   result = new NSArray<String>(new String[] {"YYYY", 
> "ZZZZ"});

Your code seems to use the NSArray class from WO instead of the one from 
Wonder, which adds the varargs constructor. You should check your classpath if 
ERExtensions has higher priority than the original WO frameworks.

jw


> It looks like this change is:
> 
> Commit:       b8e231930a823690d44f6a49cddf2e41eb6ab242 [b8e2319]
> Author:       qdolan <qdolan@8dc76679-1c23-de11-85cd-0050568e728b>
> Date: May 27, 2009 at 2:25:21 AM EDT
> 
> .. but, if this happened over five years ago, why haven’t I fallen over it 
> before now?
> 
> PS: Happy New Year to the list ..


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

This email sent to [email protected]

Reply via email to