users@jaxb.java.net

Re: How to make enumeration class serializable

From: Jimmy Han <jhan_at_cisco.com>
Date: Mon, 07 Jul 2003 17:43:52 -0700

Great. I was using jaxb 1.0. It works in 1.0.1. Thanks.

-
Jimmy

----- Original Message -----
From: "Kohsuke Kawaguchi" <Kohsuke.Kawaguchi_at_Sun.COM>
To: <JAXB-INTEREST_at_JAVA.SUN.COM>
Sent: Monday, July 07, 2003 4:49 PM
Subject: Re: How to make enumeration class serializable


> 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
>