Fabian Ritzmann wrote:
> Hi,
>
> I found that this code:
>
> com.sun.codemodel.JMethod formatArgs = myClass.method(JMod.PUBLIC,
> String.class, "format");
> formatArgs.varParam(Object.class, "args");
>
> is producing this output:
>
> public String format(Object[]... args)
>
> I had expected to get an "Object..." instead of "Object[]...". Am I
> doing something wrong or is this a bug? I'm using a jaxb-xjc.jar with
> this manifest entry:
> Build-Id: 04/27/2006 03:14 PM(hudson)
That sounds like a bug.
(And Build ID should include the hudson build number --- I guess taht's
another bug)
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com