[jboss-jira] [JBoss JIRA] Closed: (JASSIST-122) Support for VARARGS (variable arguments) methods declaration and calling by compiler

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Thu Jul 8 14:22:46 EDT 2010


     [ https://jira.jboss.org/browse/JASSIST-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Chiba closed JASSIST-122.
---------------------------------



> 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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list