users@jaxb.java.net

Re: code too large error compiling generated java from xjc

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 14 May 2007 16:41:36 -0700

Paul Hussein wrote:
> Thanks for the hint!
>
> Is this still a feature then in jaxb2 as in jaxb1 that if the
> enumeration is large then the code generated will be too large, and
> the only way round is as below, or is there some other way ?

I think this is a bug in the spec. The spec doesn't define a cut-off
point, so we can't just do that in the RI.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com