RE: BeanShell 2.0b4 Available...
"Kireitchik, Valeri" <[email protected]> Mon, 23 May 2005 19:32:04 +0300
| Newsgroups | gmane.comp.java.beanshell.user,gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
in our project support of varargs in invocation of methods of compiled classes from script would make script code sometimes 10-20% shorter and much easier to read. so looking forward to them ! Valeri Kireitchik -----Original Message----- From: beanshell-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:beanshell-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]On Behalf Of Pat Niemeyer Sent: Monday, May 23, 2005 7:10 PM To: Kireitchik, Valeri Cc: BeanShell Developers; BeanShell Users Subject: RE: [Beanshell-users] BeanShell 2.0b4 Available... > I see it as important step towards Java5. It is very good, thanks. > > And next question is, when Java5 syntaxis is going to be supported ? Our > team is especially interested in varargs (API that we use has many varargs > methods) and support of Iterable in for-each loop. It is likely that varargs will come in a minor update sooner than the rest of the Java 5 syntax. It should be fairly easy to implement them and some code to support them is in place. Varargs on Java methods will likely only apply to Java code compiled with Java 5, as that introduces the new flag that specifies that a method accetps varargs. It would probably be dangerous to change the parsing rules for code that was compiled prior to Java 5. But we will support them for scripted methods more generally. The Iterable can also be easily added and take effect when the engine is running on a Java 5 platform that has the Iterable class. Pat ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=ick _______________________________________________ Beanshell-users mailing list Beanshell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/beanshell-users ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click