users@jaxb.java.net

Re: different behaviors of default val attrs depending on underlying type?

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Fri, 21 Oct 2005 11:53:22 -0700

jonathan gold wrote:
> if i have an attribute whose type is an Enum with a default value
> specified, the generated code ends up returning null, not the default
> enum value, which leads to downstream NullPointerExceptions.

This is a known problem that's already fixed in the nightlies.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com