It seems to me it would also be safer for JAXB to build on top of 1.3.1
instead of 1.4. After all, if the requirement is 1.3.1 and JAXB builds
on 1.4, you cannot guarantee that you are building 1.3.1 compatible
deliverables, no? Well, this is what we do with our product anyway.
Thank you,
Gary
> -----Original Message-----
> From: Ryan Shoemaker - JavaSoft East [mailto:Ryan.Shoemaker_at_Sun.COM]
> Sent: Tuesday, April 13, 2004 07:33
> To: users_at_jaxb.dev.java.net
> Subject: Re: xjc 20040405 uses 1.4 API
>
> Lee Breisacher wrote:
>
> > I just downloaded xjc 20040412 and it is STILL using a java 1.4 API.
I
> > thought someone fixed this last week. Here's the offending line of
code
> > from PreProcessingLineFilter:
> >
> > conditions.push(Boolean.valueOf(!b.booleanValue()));
> >
>
> Kohsuke did indeed fix this last week:
>
> Index: PreProcessingLineFilter.java
> ===================================================================
> RCS file: /sw/wpts/jaxb-
> ri/xjc/src/com/sun/tools/xjc/generator/PreProcessingLineFilter.java,v
> retrieving revision 1.1.4.1
> retrieving revision 1.1.4.2
> diff -C2 -d -r1.1.4.1 -r1.1.4.2
> *** PreProcessingLineFilter.java 2004/04/02 19:49:16 1.1.4.1
> --- PreProcessingLineFilter.java 2004/04/08 17:28:06 1.1.4.2
> ***************
> *** 82,86 ****
> String exp = cond.substring(3,idx);
>
> ! conditions.push(Boolean.valueOf(eval(exp)));
> return null;
> }
> --- 82,86 ----
> String exp = cond.substring(3,idx);
>
> ! conditions.push(eval(exp)?Boolean.TRUE:Boolean.FALSE);
> return null;
> }
>
> Perhaps we pulled the wrong cvs tag before releasing the weekly
bundle.
> We'll look into this and fix it ASAP.
>
> Thanks and sorry for the inconvenience,
>
> --Ryan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net