Support for VARARGS (variable arguments) methods declaration and
calling by compiler
-------------------------------------------------------------------------------------
Key: JASSIST-122
URL:
https://jira.jboss.org/browse/JASSIST-122
Project: Javassist
Issue Type: Feature Request
Reporter: Ivan Prisiazhnyy
Assignee: Shigeru Chiba
Fix For: 3.13.0.GA
With Javassist one can handle calls to varargs methods manually.
And even varargs methods can be created.
But compiler it self have not support for it. So you can't do this:
CtNewMethod.make("public int test(int... args) { return args.length; }",
ctclass);
and you can't call such functions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: