[ nice-Bugs-1513439 ] Arrays can't be used with method implementations

"SourceForge.net" <[email protected]> Tue, 27 Jun 2006 08:43:42 -0700
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1513439, was opened at 2006-06-27 15:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1513439&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: B S (ben77)
Assigned to: Nobody/Anonymous (nobody)
Summary: Arrays can't be used with method implementations

Initial Comment:
You can do this with objects:
void test(?String str);
test(null){...}
test(String str){...}

but with arrays it doesn't work (the parser doesn't
like the [])
void test(int[?] arr);
test(null){}
test(int[] arr);

Specifically
Encountered "[]".
Was expecting one of:
    ")" ...
    "," ...
    "<=" ...
    ">=" ...
    "<" ...
    ">" ...
    "@" ...
    "#" ...
    "." ...
    ":" ...
    <IDENT> ...
    "(" ...

I don't know if this is by design or not, if its by
design this should be an RFE.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1513439&group_id=12788

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642