users@jaxb.java.net

Re: How to make enumeration class serializable

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 07 Jul 2003 16:49:27 -0700

Jimmy Han <jhan_at_cisco.com> wrote:
> With <xjc:serializable>, xjc generates serializable Java classes.
> However, this does not work for enumeration classes. For example,
> I have a schema fragment similar to the one in 5.2.3.1, I could not
> generate a serializable typesafe enum class. Did I miss something, or
> this is the way it should be?

I thought I fixed this problem in JAXB RI 1.0.1. Are you using this
version?

regards,
--
Kohsuke Kawaguchi                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com