From: Pat Niemeyer <pat@pa...> - 2005-05-23 16:10:02
> 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 ? Ou=
> team is especially interested in varargs (API that we use has many vara=
> methods) and support of Iterable in for-each loop.
It is likely that varargs will come in a minor update sooner than the res=
of the Java 5 syntax. It should be fairly easy to implement them and som=
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.